Skip to content

Commit

Permalink
optimizing tags for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
silvadealmeida committed May 15, 2024
1 parent bd4ad43 commit 77e5b47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-and-push-dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
# list of Docker images to use as base name for tags
images: |
zalf/bonares-handbook:latest
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand All @@ -30,3 +34,5 @@ jobs:
with:
push: true
file: docker/Dockerfile
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 77e5b47

Please sign in to comment.