Remove prefix from bleeding build tags

Directly use the short-sha without sha- prefix
pull/7734/head
Christoph Kepler 4 years ago
parent 672fd84e96
commit c65ac0dada
No known key found for this signature in database
GPG Key ID: FED133CE3670330D

@ -24,7 +24,6 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Build image - name: Build image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
@ -32,8 +31,6 @@ jobs:
context: . context: .
file: dev/build/Dockerfile file: dev/build/Dockerfile
# Build image and push image to GitHub Packages. # Build image and push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/ # See also https://docs.docker.com/docker-hub/builds/
build-and-push-image: build-and-push-image:
@ -71,7 +68,7 @@ jobs:
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: | tags: |
type=sha type=sha,prefix=
- name: Disable dev flag - name: Disable dev flag
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')

Loading…
Cancel
Save