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