diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd1ca610..27c7f8f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,19 +68,19 @@ jobs: docker buildx build --output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }} - name: Docker Login - if: success() && github.event_name != 'pull_request' + if: success() && github.event_name != 'pull_request' && github.repository == 'viktorstrate/photoview' env: DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} run: | echo "${DOCKER_PASSWORD}" | docker login --username "${{ steps.prepare.outputs.docker_username }}" --password-stdin - name: Docker Buildx (push) - if: success() && github.event_name != 'pull_request' + if: success() && github.event_name != 'pull_request' && github.repository == 'viktorstrate/photoview' run: | docker buildx build --output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }} # - name: Docker Check Manifest - # if: always() && github.event_name != 'pull_request' + # if: always() && github.event_name != 'pull_request' && github.repository == 'viktorstrate/photoview' # run: | # docker run --rm mplatform/mquery ${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 50e5bb37..b871614c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -12,6 +12,7 @@ on: jobs: analyze: name: Analyze + if: github.repository == 'viktorstrate/photoview' runs-on: ubuntu-latest strategy: