Skip to content

Commit

Permalink
Add date tag to docker image build
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd committed Jun 13, 2024
1 parent d30a161 commit 70e32e2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
with:
context: ./backend
push: true
tags: ghcr.io/dnum-mi/basegun/basegun-backend:${{ github.head_ref }}
tags: |
ghcr.io/dnum-mi/basegun/basegun-backend:${{ github.head_ref }}
ghcr.io/dnum-mi/basegun/basegun-backend:${{ $(date +"%Y-%m-%d") }}
build-frontend:
name: Build Frontend
Expand All @@ -53,7 +55,9 @@ jobs:
with:
context: ./frontend
push: true
tags: ghcr.io/dnum-mi/basegun/basegun-frontend:${{ github.head_ref }}
tags: |
ghcr.io/dnum-mi/basegun/basegun-frontend:${{ github.head_ref }}
ghcr.io/dnum-mi/basegun/basegun-frontend:${{ $(date +"%Y-%m-%d") }}
test-backend:
name: Test Backend
Expand Down

0 comments on commit 70e32e2

Please sign in to comment.