This repository was archived by the owner on Feb 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 4848 ${{ env.IMAGE_BASE }}:kaniko-sidecar-pr-${{ github.event.pull_request.number }}
4949
5050 - name : link child image to current pr
51- run : sed "s/FROM.*/FROM ${{ env.IMAGE_BASE }}:base-pr-${{ github.event.pull_request.number }}/g" images/ansible-k8s/Dockerfile
51+ run : sed -i "s/FROM.*/FROM ${{ env.IMAGE_BASE }}:base-pr-${{ github.event.pull_request.number }}/g" images/ansible-k8s/Dockerfile
5252
5353 - name : Build github-actions-runner:ansible-k8s
5454 uses : docker/build-push-action@v2
Original file line number Diff line number Diff line change 5656 ${{ env.IMAGE_BASE }}:kaniko-sidecar-latest
5757 ${{ env.IMAGE_BASE }}:kaniko-sidecar-${{needs.create_release.outputs.version}}
5858
59+ - name : link child image to current version
60+ run : sed -i "s/FROM.*/FROM ${{ env.IMAGE_BASE }}:base-${{ needs.create_release.outputs.version }}/g" images/ansible-k8s/Dockerfile
61+
62+ - name : Build github-actions-runner:ansible-k8s
63+ uses : docker/build-push-action@v2
64+ with :
65+ context : ./images/ansible-k8s
66+ push : true
67+ tags : |
68+ ${{ env.IMAGE_BASE }}:ansible-k8s-latest
69+ ${{ env.IMAGE_BASE }}:ansible-k8s-${{needs.create_release.outputs.version}}
70+
5971 publish_release :
6072 runs-on : ubuntu-latest
6173 needs : [create_release, build]
You can’t perform that action at this time.
0 commit comments