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

Commit 36f47af

Browse files
committed
add fullstacked image to workflows
1 parent 1b66eb6 commit 36f47af

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.github/workflows/build-pr.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
5050
- name: link child image to current pr
5151
run: |
52-
sed -i --expression "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" \
53+
images/ansible-k8s/Dockerfile \
54+
images/fullstacked/Dockerfile
5355
5456
- name: Build github-actions-runner:ansible-k8s
5557
uses: docker/build-push-action@v2
@@ -58,3 +60,11 @@ jobs:
5860
push: true
5961
tags: |
6062
${{ env.IMAGE_BASE }}:ansible-k8s-pr-${{ github.event.pull_request.number }}
63+
64+
- name: Build github-actions-runner:fullstacked
65+
uses: docker/build-push-action@v2
66+
with:
67+
context: ./images/fullstacked
68+
push: true
69+
tags: |
70+
${{ env.IMAGE_BASE }}:fullstacked-pr-${{ github.event.pull_request.number }}

.github/workflows/create-release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ jobs:
5858
5959
- name: link child image to current version
6060
run: |
61-
sed -i --expression "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" \
62+
images/ansible-k8s/Dockerfile \
63+
images/fullstacked/Dockerfile
6264
6365
- name: Build github-actions-runner:ansible-k8s
6466
uses: docker/build-push-action@v2
@@ -69,6 +71,15 @@ jobs:
6971
${{ env.IMAGE_BASE }}:ansible-k8s-latest
7072
${{ env.IMAGE_BASE }}:ansible-k8s-${{needs.create_release.outputs.version}}
7173
74+
- name: Build github-actions-runner:fullstacked
75+
uses: docker/build-push-action@v2
76+
with:
77+
context: ./images/fullstacked
78+
push: true
79+
tags: |
80+
${{ env.IMAGE_BASE }}:fullstacked-latest
81+
${{ env.IMAGE_BASE }}:fullstacked-${{needs.create_release.outputs.version}}
82+
7283
publish_release:
7384
runs-on: ubuntu-latest
7485
needs: [create_release, build]

0 commit comments

Comments
 (0)