Skip to content

Commit 1cf15bc

Browse files
soapy1gabalafou
andauthored
Apply suggestions from code review
Co-authored-by: gabalafou <gabriel@fouasnon.com>
1 parent d9b3055 commit 1cf15bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ jobs:
150150

151151
build_and_push_docker_image:
152152
name: "Build Docker Images 🛠"
153+
if: github.repository_owner == 'conda-incubator' && github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')
153154
runs-on: ubuntu-latest
154155
needs: release-to-npmjs
155156
permissions:
@@ -198,6 +199,6 @@ jobs:
198199
- name: Generate artifact attestation
199200
uses: actions/attest-build-provenance@v2
200201
with:
201-
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
202+
subject-name: ${{ env.GH_CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}
202203
subject-digest: ${{ steps.push.outputs.digest }}
203204
push-to-registry: true

0 commit comments

Comments
 (0)