diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index de9f942..6a0195c 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache Docker layers - uses: actions/cache@v2 + uses: actions/cache@v3 id: cache with: path: /tmp/.buildx-cache @@ -19,15 +19,15 @@ jobs: restore-keys: | ${{ runner.os }}-buildx- - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 with: config-inline: | [worker.oci] max-parallelism = 16 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} diff --git a/Dockerfile b/Dockerfile index a858272..9253a58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ADD "${S6_OVERLAY_RELEASE}/v${S6_OVERLAY_VERSION}/s6-overlay-noarch-${S6_OVERLAY # Second stage - Download s6-overlay platform-dependent binaries and unpack -FROM --platform=${TARGETPLATFORM} alpine:3.15 AS downloader-s6-bin +FROM --platform=${TARGETPLATFORM} alpine:3.16.2 AS downloader-s6-bin ARG TARGETPLATFORM ARG S6_OVERLAY_VERSION ARG S6_OVERLAY_RELEASE @@ -21,7 +21,7 @@ RUN apk add --no-cache wget \ # Third stage - Build rootfs from s6 parts -FROM alpine:3.15 AS rootfs-builder +FROM alpine:3.16.2 AS rootfs-builder COPY --from=downloader-s6-base ["/s6overlay-base.tar.xz", "/s6overlay-base.tar.xz"] COPY --from=downloader-s6-bin ["/s6overlay-bin.tar.xz", "/s6overlay-bin.tar.xz"]