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 6352494 commit 43c43c3
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/sbl-filing-api:latest -f Dockerfile .
docker tag ghcr.io/cfpb/regtech/sbl/sbl-filing-api:latest ghcr.io/cfpb/regtech/sbl/sbl-filing-api:${{env.TAG_VERSION}}
docker tag ghcr.io/cfpb/regtech/sbl/sbl-filing-api:latest ghcr.io/cfpb/regtech/sbl/sbl-filing-api:${{env.TAG_VERSION}}_${{github.run_attempt}}
docker tag ghcr.io/cfpb/regtech/sbl/sbl-filing-api:latest ghcr.io/cfpb/regtech/sbl/sbl-filing-api:${{env.TAG_VERSION}}_${{github.run_number}}.${{github.run_attempt}}
- name: 'Login to GitHub Container Registry'
id: login
Expand Down

0 comments on commit 43c43c3

Please sign in to comment.