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

Commit a1fbcab

Browse files
committed
mod workflows
1 parent e1f2229 commit a1fbcab

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
@@ -49,7 +49,7 @@ jobs:
4949
5050
- name: link child image to current pr
5151
run: |
52-
sed -i "s/FROM.*/FROM ${{ env.IMAGE_BASE }}:base-pr-${{ github.event.pull_request.number }}/g" images/ansible-k8s/Dockerfile
52+
sed -i --expression "s@FROM.*@FROM ${{ env.IMAGE_BASE }}:base-pr-${{ github.event.pull_request.number }}@g" images/ansible-k8s/Dockerfile
5353
5454
- name: Build github-actions-runner:ansible-k8s
5555
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
@@ -58,7 +58,7 @@ jobs:
5858
5959
- name: link child image to current version
6060
run: |
61-
sed -i "s/FROM.*/FROM ${{ env.IMAGE_BASE }}:base-${{ needs.create_release.outputs.version }}/g" images/ansible-k8s/Dockerfile
61+
sed -i --expression "s@FROM.*@FROM ${{ env.IMAGE_BASE }}:base-${{ needs.create_release.outputs.version }}@g" images/ansible-k8s/Dockerfile
6262
6363
- name: Build github-actions-runner:ansible-k8s
6464
uses: docker/build-push-action@v2

0 commit comments

Comments
 (0)