Skip to content

Commit

Permalink
feat: added build numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolfx committed Apr 10, 2023
1 parent 6c44a7a commit 3a925f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build the Docker image
run: docker build . --file ./apps/admin/Dockerfile --tag tolfixorg/cpg-admin:latest
run: docker build . --file ./apps/admin/Dockerfile --tag tolfixorg/cpg-admin:build-${{github.run_number}}
- name: Docker push
run: docker push tolfixorg/cpg-admin:latest
run: docker push tolfixorg/cpg-admin:build-${{github.run_number}}
4 changes: 2 additions & 2 deletions .github/workflows/docker-customer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build the Docker image
run: docker build . --file Dockerfile_CUSTOMER --tag tolfixorg/cpg-customer:latest
run: docker build . --file Dockerfile_CUSTOMER --tag tolfixorg/cpg-customer:build-${{github.run_number}}
- name: Docker push
run: docker push tolfixorg/cpg-customer:latest
run: docker push tolfixorg/cpg-customer:build-${{github.run_number}}

0 comments on commit 3a925f7

Please sign in to comment.