Skip to content

Commit

Permalink
Update build-and-push.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DeeAjayi authored Oct 10, 2024
1 parent dc49129 commit 0ccb8e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ permissions:

env:
IMAGE_TAG: ${{ github.sha }}
ARTIFACTORY_REGISTRY: ${{ vars.TRUEFOUNDRY_ARTIFACTORY_REGISTRY_URL }}
ARTIFACTORY_USERNAME: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_PASSWORD }}
ARTIFACTORY_REPOSITORY_URL: ${{ vars.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_REPOSITORY }}/${{ matrix.repository }}
Expand Down Expand Up @@ -41,7 +42,7 @@ jobs:
with:
username: ${{ env.ARTIFACTORY_USERNAME }}
password: ${{ env.ARTIFACTORY_PASSWORD }}
registry: tfy.jfrog.io
registry: ${{ env.ARTIFACTORY_REGISTRY }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 0ccb8e6

Please sign in to comment.