Skip to content

Commit

Permalink
Update build_and_push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pasarus authored Jun 28, 2024
1 parent 0439a33 commit 42b3393
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@ jobs:
with:
cmd: yq e -i '.spec.template.spec.containers[] |= (select(.name == "file-watcher-operator") | .env[] |= select(.name == "FILE_WATCHER_SHA256").value = "${{ steps.remove_sha256_watcher.outputs.digest }}")' './components/file-watcher-operator/envs/staging/file-watcher-operator.yml'

- name: Commit and push changes for file watcher
continue-on-error: true
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -am "Update file watcher to use ${{ steps.file_watcher_build.outputs.digest }}"
git push
- name: Build and push file watcher operator Docker image
id: file_watcher_operator_build
uses: docker/build-push-action@v5
Expand All @@ -79,5 +71,5 @@ jobs:
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -am "Update file watcher operator to use ${{ steps.file_watcher_operator_build.outputs.digest }}"
git commit -am "[CD] Update file-watcher/operator with this commit ${{ github.event.head_commit.url}}"
git push

0 comments on commit 42b3393

Please sign in to comment.