Skip to content

Commit

Permalink
Revert "ci: temporarily push images from branches"
Browse files Browse the repository at this point in the history
This reverts commit 8bda3fa.
  • Loading branch information
basti1302 committed Oct 30, 2024
1 parent 41700e5 commit f949bed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/build-image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ runs:
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,suffix=-dev,event=branch
type=ref,suffix=-pr,event=pr
type=ref,enable={{is_default_branch}},suffix=-dev,event=branch
type=ref,event=tag
type=sha
labels: |
Expand All @@ -75,4 +74,4 @@ runs:
cache-from: type=gha,scope=${{ inputs.imageName }}
cache-to: type=gha,mode=max,scope=${{ inputs.imageName }}
# Maintenance note: keep the expression for push in sync with the expression used in "platforms".
push: true
push: ${{ github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/') }}
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ jobs:
build-and-push-images:
name: Build Images
runs-on: ubuntu-latest
needs:
- verify
- injector_binary_and_instrumentation_image_tests
timeout-minutes: 60

steps:
Expand Down

0 comments on commit f949bed

Please sign in to comment.