diff --git a/.github/workflows/docker-build-test-upload.yml b/.github/workflows/docker-build-test-upload.yml index b7c433114f..11ca7f5a05 100644 --- a/.github/workflows/docker-build-test-upload.yml +++ b/.github/workflows/docker-build-test-upload.yml @@ -53,7 +53,6 @@ jobs: name: aiida-core-base-${{ inputs.architecture }} path: /tmp/aiida-core-base-${{ inputs.architecture }}.tar retention-days: 3 - if: ${{ !github.event.pull_request.head.repo.fork }} - name: Upload aiida-core-with-services image as artifact 💾 uses: actions/upload-artifact@v3 @@ -61,4 +60,3 @@ jobs: name: aiida-core-with-services-${{ inputs.architecture }} path: /tmp/aiida-core-with-services-${{ inputs.architecture }}.tar retention-days: 3 - if: ${{ !github.event.pull_request.head.repo.fork }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c621d9e5d5..ddfee24615 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,7 +37,6 @@ jobs: if: ${{ !github.event.pull_request.head.repo.fork }} amd64-push-ghcr: - if: github.repository == 'aiidateam/aiida-core' uses: ./.github/workflows/docker-push.yml with: architecture: amd64 @@ -46,6 +45,7 @@ jobs: REGISTRY_USERNAME: ${{ github.actor }} REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} needs: [amd64-build] + if: ${{ !github.event.pull_request.head.repo.fork }} arm64-push-ghcr: uses: ./.github/workflows/docker-push.yml