From fd24b153dd29ebd218323fbe476a5437c54dc461 Mon Sep 17 00:00:00 2001 From: Dipo Ajayi Date: Thu, 7 Nov 2024 11:13:33 +0100 Subject: [PATCH 1/2] update build workflow to 0.2.1 --- .github/workflows/build-n-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-n-push.yml b/.github/workflows/build-n-push.yml index 8030845..00c15b9 100644 --- a/.github/workflows/build-n-push.yml +++ b/.github/workflows/build-n-push.yml @@ -12,7 +12,7 @@ permissions: jobs: build: name: Build, Scan and Release NUI Image - uses: truefoundry/workflows/.github/workflows/build.yml@v0.1.0 + uses: truefoundry/workflows/.github/workflows/build.yml@v0.2.1 with: image_tag: ${{ github.sha }} image_artifact_name: ${{ github.event.repository.name }} From 8334423adf6725f2766c90eb511afebb122fd735 Mon Sep 17 00:00:00 2001 From: Ajayi Dipo Date: Thu, 7 Nov 2024 11:50:48 +0100 Subject: [PATCH 2/2] Update build-n-push.yml --- .github/workflows/build-n-push.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-n-push.yml b/.github/workflows/build-n-push.yml index 00c15b9..9202463 100644 --- a/.github/workflows/build-n-push.yml +++ b/.github/workflows/build-n-push.yml @@ -15,9 +15,11 @@ jobs: uses: truefoundry/workflows/.github/workflows/build.yml@v0.2.1 with: image_tag: ${{ github.sha }} + depot_project_id: ${{ vars.DEPOT_PROJECT_ID }} image_artifact_name: ${{ github.event.repository.name }} artifactory_registry_url: ${{ vars.TRUEFOUNDRY_ARTIFACTORY_REGISTRY_URL }} artifactory_repository_url: ${{ vars.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_REPOSITORY }} secrets: + depot_token: ${{ secrets.DEPOT_API_KEY }} artifactory_username: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_USERNAME }} artifactory_password: ${{ secrets.TRUEFOUNDRY_ARTIFACTORY_PUBLIC_PASSWORD }}