Skip to content

Commit

Permalink
docker build: tag HEAD as 'latest'
Browse files Browse the repository at this point in the history
  • Loading branch information
aadityabhatia committed Aug 3, 2023
1 parent c41256d commit c35172b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
uses: docker/metadata-action@c4ee3adeed93b1fa6a762f209fb01608c1a22f1e
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker image
uses: docker/build-push-action@91df6b874e498451163feb47610c87c4a218c1ee
Expand Down

0 comments on commit c35172b

Please sign in to comment.