Skip to content

Commit

Permalink
SCAN-5585 : Use latest branch to pull updated image.
Browse files Browse the repository at this point in the history
  • Loading branch information
steviemul committed Jul 30, 2024
1 parent 22ef24a commit b7a1dff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 1 addition & 7 deletions .github/actions/build-image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,4 @@ runs:
yq e ".runs.image = env(IMAGE_TAG)" -i action.yml
git add action.yml
git diff-index --quiet HEAD || (git commit -m "[Auto] Image tag updated latest pushed version" && git push)





git diff-index --quiet HEAD || (git commit -m "[Auto] Image tag updated latest pushed version" && git push)
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
needs: [ build-action-docker-image ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}
- uses : ./
name: Run action against itself
with:
Expand All @@ -59,6 +61,8 @@ jobs:
needs: [ verify-action ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}
- name: Install modules
run: npm ci
- name: release
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
needs: [ build-action-docker-image ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}
- uses : ./
name: Run action against repoository
with:
Expand Down

0 comments on commit b7a1dff

Please sign in to comment.