Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 85ff111

Browse files
committed
mod workflows
1 parent ddb7358 commit 85ff111

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
${{ env.IMAGE_BASE }}:kaniko-sidecar-pr-${{ github.event.pull_request.number }}
4949
5050
- name: link child image to current pr
51-
run: sed -i "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

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
${{ env.IMAGE_BASE }}:kaniko-sidecar-${{needs.create_release.outputs.version}}
5858
5959
- 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
60+
run: sed -i 's/FROM.*/FROM ${{ env.IMAGE_BASE }}:base-pr-${{ github.event.pull_request.number }}/g' images/ansible-k8s/Dockerfile
6161

6262
- name: Build github-actions-runner:ansible-k8s
6363
uses: docker/build-push-action@v2

0 commit comments

Comments
 (0)