Skip to content

Commit

Permalink
make a unique image build number that is also persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
thetoolsmith committed Jan 2, 2025
1 parent b7bad19 commit d11e910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
docker build -t ghcr.io/cfpb/regtech/sbl/regtech-mail-api:latest -f Dockerfile .
docker tag ghcr.io/cfpb/regtech/sbl/regtech-mail-api:latest ghcr.io/cfpb/regtech/sbl/regtech-mail-api:${{env.TAG_VERSION}}
docker tag ghcr.io/cfpb/regtech/sbl/regtech-mail-api:latest ghcr.io/cfpb/regtech/sbl/regtech-mail-api:${{env.TAG_VERSION}}_${{github.run_attempt}}
docker tag ghcr.io/cfpb/regtech/sbl/regtech-mail-api:latest ghcr.io/cfpb/regtech/sbl/regtech-mail-api:${{env.TAG_VERSION}}_${{github.run_number}}.${{github.run_attempt}}
- name: 'Login to GitHub Container Registry'
id: login
Expand Down

0 comments on commit d11e910

Please sign in to comment.