Skip to content

Commit

Permalink
Merge pull request #146 from bcgov/yj
Browse files Browse the repository at this point in the history
chore: ci/cd
  • Loading branch information
ychung-mot authored Apr 16, 2024
2 parents 87e546a + 668f188 commit dc5c542
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ jobs:
run: cd server && docker build -t strdss-backend -f Dockerfile .

- name: Tag Docker image
run: docker tag strdss-backend artifacts.developer.gov.bc.ca/sf4a-strdss/strdss-backend:${vtag//v}
run: |
vtag=${{ github.ref_name }}
docker tag strdss-backend artifacts.developer.gov.bc.ca/sf4a-strdss/strdss-backend:${vtag//v}
- name: Push Docker image to Artifactory
run: |
vtag=${{ github.ref_name }}
docker login artifacts.developer.gov.bc.ca -u ${{ secrets.JFROG_USERNAME }} -p ${{ secrets.JFROG_PASSWORD }}
docker push artifacts.developer.gov.bc.ca/sf4a-strdss/strdss-backend:${vtag//v}
Expand Down

0 comments on commit dc5c542

Please sign in to comment.