diff --git a/.github/workflows/openssl3.yml b/.github/workflows/openssl3.yml index 5fa4d1b..2f3e421 100644 --- a/.github/workflows/openssl3.yml +++ b/.github/workflows/openssl3.yml @@ -2,7 +2,7 @@ name: openssl3 on: push: - branches: [ 'main' ] + branches: [ '*' ] paths: ['.github/workflows/openssl3.yml', 'openssl3/**'] pull_request: branches: [ 'main' ] @@ -89,11 +89,11 @@ jobs: openquantumsafe/openssl3:${{ inputs.release_tag || 'latest' }}-${{ matrix.arch }} push: + if: ${{ github.repository == 'open-quantum-safe/oqs-demos' && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }} needs: build runs-on: ubuntu-latest steps: - uses: ./.github/workflows/manifest - if: env.push == 'true' with: image_name: openssl3 release_tag: ${{ inputs.release_tag || 'latest' }}