Skip to content

Commit

Permalink
Update build-and-push-image.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragjn authored Nov 11, 2024
1 parent 69cc0ca commit 751a65d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-and-push-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
build_image:
name: Build image
needs: set_version_tags
uses: truefoundry/github-workflows-public/.github/workflows/[email protected].2
uses: truefoundry/github-workflows-public/.github/workflows/[email protected].4
with:
image_tag: "${{ github.sha }}"
extra_image_tag: |
Expand All @@ -55,14 +55,15 @@ jobs:
artifactory_registry_url: ${{ vars.TRUEFOUNDRY_ARTIFACTORY_REGISTRY_URL }}
artifactory_repository_url: ${{ vars.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_REPOSITORY }}
free_disk_space: true
enable_scan: false
secrets:
artifactory_username: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_USERNAME }}
artifactory_password: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_PASSWORD }}

build_notebook_image:
name: Build notebook image
needs: set_version_tags
uses: truefoundry/github-workflows-public/.github/workflows/[email protected].2
uses: truefoundry/github-workflows-public/.github/workflows/[email protected].4
with:
image_tag: "${{ github.sha }}"
extra_image_tag: |
Expand All @@ -74,6 +75,7 @@ jobs:
artifactory_repository_url: ${{ vars.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_REPOSITORY }}
dockerfile_path: Dockerfile-notebook
free_disk_space: true
enable_scan: false
secrets:
artifactory_username: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_USERNAME }}
artifactory_password: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_PASSWORD }}
artifactory_password: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_PASSWORD }}

0 comments on commit 751a65d

Please sign in to comment.