Skip to content

Commit

Permalink
updated github release action to tag containers as latest
Browse files Browse the repository at this point in the history
  • Loading branch information
bigabig committed Aug 10, 2023
1 parent 289c425 commit 4ce7f0c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,17 @@ jobs:
with:
context: ./backend
push: true
tags: uhhlt/dwts_backend:$GITHUB_REF_NAME
tags: |
"uhhlt/dwts_backend:${{ github.ref_name }}"
"uhhlt/dwts_backend:latest"
- name: Build and push frontend container
uses: docker/build-push-action@v4
with:
context: ./frontend
push: true
tags: "uhhlt/dwts_frontend:${{ github.ref_name }}"
tags: |
"uhhlt/dwts_frontend:${{ github.ref_name }}"
"uhhlt/dwts_frontend:latest"
- name: Create Release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 4ce7f0c

Please sign in to comment.