Skip to content

chore(deps): update ubuntu:20.04 docker digest to 8e5c4f0 (#57) #20

chore(deps): update ubuntu:20.04 docker digest to 8e5c4f0 (#57)

chore(deps): update ubuntu:20.04 docker digest to 8e5c4f0 (#57) #20

Workflow file for this run

name: Docker image (Node)
on:
push:
branches:
- master
paths:
- 'nodejs.Dockerfile'
- 'nodejs.entrypoint.sh'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
nodejs:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[skip-ci]') }}
strategy:
fail-fast: false
matrix:
node_version: [12, 14, 16, 18, 19, 20, 22]
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3
- name: Login to DockerHub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6
with:
build-args: NODE_VERSION=${{ matrix.node_version }}
context: .
file: nodejs.Dockerfile
platforms: linux/amd64, linux/arm64
push: true
tags: djoh/all-in-one:node${{ matrix.node_version }}
cache-from: type=registry,ref=djoh/all-in-one:buildcache_node${{ matrix.node_version }}
cache-to: type=registry,ref=djoh/all-in-one:buildcache_node${{ matrix.node_version }},mode=max