From c65ac0dadae06f86db109b87da24a48086c7c8c7 Mon Sep 17 00:00:00 2001 From: Christoph Kepler Date: Thu, 28 Oct 2021 14:11:30 +0200 Subject: [PATCH] Remove prefix from bleeding build tags Directly use the short-sha without sha- prefix --- .github/workflows/docker.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index df65b4bd..e7e4ac56 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -24,7 +24,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Build image uses: docker/build-push-action@v2 with: @@ -32,8 +31,6 @@ jobs: context: . file: dev/build/Dockerfile - - # Build image and push image to GitHub Packages. # See also https://docs.docker.com/docker-hub/builds/ build-and-push-image: @@ -71,7 +68,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=sha + type=sha,prefix= - name: Disable dev flag if: startsWith(github.ref, 'refs/tags/v')