From b2c77f31677e3e1c3aa23fa708964948f935eb3d Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Thu, 1 Feb 2024 12:32:11 +0100 Subject: [PATCH] Cleanup Docker release job --- .github/workflows/docker-image.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 88d55ca..0e6c45a 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -5,11 +5,6 @@ on: types: - published -env: - IMAGE_NAME: ${{ github.repository }} - DOCKERFILE: Dockerfile - PLATFORMS: linux/amd64,linux/arm64 - jobs: build: runs-on: ubuntu-22.04 @@ -36,20 +31,15 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@v3 - id: login with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} - name: Build and push uses: docker/build-push-action@v5 - id: push with: - context: . - file: ${{ env.DOCKERFILE }} - provenance: false push: true - platforms: ${{ env.PLATFORMS }} + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha cache-to: type=gha,mode=max