Skip to content

Commit

Permalink
Update api-buildandpush.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JonTaylorBCGov2 committed Apr 12, 2024
1 parent 95e83dd commit 081e446
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/api-buildandpush.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
- uses: actions/checkout@v2

- name: Login to Artifactory
if: github.repository_owner == 'bcgov-c'
uses: docker/login-action@v1
with:
registry: artifacts.developer.gov.bc.ca
username: ${{ secrets.CAS_ARTIFACTORY_USERNAME }}
password: ${{ secrets.CAS_ARTIFACTORY_PASSWORD }}
dotnet-version: 7.0.407

# Get SHORT_SHA to tag images
- name: Get short SHA
Expand Down Expand Up @@ -58,6 +58,7 @@ jobs:
- name: Docker Push to Artifactory ${{env.WORKING_DIRECTORY}}
id: publish
if: github.repository_owner == 'bcgov-c'
run: |
docker push artifacts.developer.gov.bc.ca/ac1cc8-tools-cas/${{ env.IMAGE_NAME }}:dev-${{ steps.short_sha.outputs.SHORT_SHA }}

0 comments on commit 081e446

Please sign in to comment.