File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 51
51
platforms : linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
52
52
push : true
53
53
tags : ${{ steps.tag.outputs.tag }}
54
+
55
+ # This change will be staged and committed in the PR pushed below.
56
+ # The script below will fail if no change was made.
57
+ - name : update ansible-operator base
58
+ run : |
59
+ set -e
60
+ sed -i -E 's|FROM quay\.io/operator-framework/ansible-operator-base:.+|FROM '"${{ steps.tag.outputs.tag }}"'|' images/ansible-operator/Dockerfile
61
+ git diff --exit-code --quiet && echo "Failed to update images/ansible-operator/Dockerfile" && exit 1
62
+
63
+ - name : create PR
64
+ uses : peter-evans/create-pull-request@v3
65
+ with :
66
+ title : " [auto] image(ansible-operator): bump base to ${{ steps.tag.outputs.tag }}"
67
+ commit-message : " [auto] image(ansible-operator): bump base to ${{ steps.tag.outputs.tag }}"
68
+ body : " New ansible-operator-base image built by https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
69
+ delete-branch : true
70
+ branch-suffix : -ansible-operator-base
You can’t perform that action at this time.
0 commit comments