From 113b502abbbb273530b6bdbeec5b3b741d712d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20L=2E=20Hansen?= Date: Fri, 28 Jul 2023 16:50:02 -0700 Subject: [PATCH] Leverage up-to-date Docker actions --- .github/workflows/pre-release.yaml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 0021720..514d098 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -10,13 +10,7 @@ jobs: pre-release-docker: name: "Pre Release Docker" runs-on: "ubuntu-latest" - - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Docker meta id: meta @@ -33,20 +27,15 @@ jobs: type=ref,event=tag type=ref,event=branch - - uses: docker/setup-qemu-action@v1 - - - uses: docker/setup-buildx-action@v1 - + - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-buildx-action@v2 - uses: docker/login-action@v2 with: username: "${{ secrets.DOCKER_HUB_USER }}" password: "${{ secrets.DOCKER_HUB_TOKEN }}" - - name: "Build and push docker image" - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 with: - context: . - file: ./Dockerfile platforms: linux/amd64,linux/arm/v7,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }}