Skip to content

Commit

Permalink
Try automation (#41)
Browse files Browse the repository at this point in the history
* Add staging tag

* Test

* Test

* Add latest tag
  • Loading branch information
fewensa authored May 29, 2024
1 parent b02d69c commit 050ed7b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
push: true
context: .
file: Dockerfile
tags: ${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:sha-${{ env.SHA }}
tags: |
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:sha-${{ env.SHA }}
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:staging
- name: Publish docker image with tag
uses: docker/build-push-action@v3
Expand All @@ -43,4 +45,7 @@ jobs:
push: true
context: .
file: Dockerfile
tags: ${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:${{ env.GIT_TAG_NAME }}
tags: |
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:${{ env.GIT_TAG_NAME }}
${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:latest

0 comments on commit 050ed7b

Please sign in to comment.