diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f6bc1dc..992b8d7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-08-20T09:47:46Z by kres 7be2a05. +# Generated on 2024-08-20T10:40:22Z by kres 7be2a05. name: default concurrency: @@ -82,14 +82,14 @@ jobs: run: | make - name: login-to-registry - if: startsWith(github.ref, 'refs/tags/') + if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: password: ${{ secrets.GITHUB_TOKEN }} registry: ghcr.io username: ${{ github.repository_owner }} - name: push - if: startsWith(github.ref, 'refs/tags/') + if: github.event_name != 'pull_request' env: PUSH: "true" run: | diff --git a/.kres.yaml b/.kres.yaml index 1ffe22e..e6af4dd 100644 --- a/.kres.yaml +++ b/.kres.yaml @@ -18,9 +18,13 @@ spec: nonMakeStep: true command: make - name: login-to-registry + conditions: + - except-pull-request registryLoginStep: registry: ghcr.io - name: push + conditions: + - except-pull-request nonMakeStep: true command: make environment: