Skip to content

Commit 49eae88

Browse files
committed
Use redhat-actions/buildah-build@v2 to build
Signed-off-by: James Slagle <[email protected]>
1 parent ac114f0 commit 49eae88

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/edpm-bootc.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,21 @@ jobs:
4949
run: |
5050
echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
5151
52-
- name: Build edpm-bootc
53-
id: build-edpm-bootc
52+
- name: Build output/yum.repos.d
53+
id: build-output-yum-repos-d
5454
run: |
5555
export EDPM_BOOTC_TAG=${latesttag}
5656
podman run --rm -it -v .:/bootc:rw,z quay.io/centos/centos:stream9 /bin/bash -c "cd bootc; dnf -y install make; make output/yum.repos.d"
57-
make build
57+
58+
- name: Build and tag
59+
id: buildah-build-edpm-bootc
60+
uses: redhat-actions/buildah-build@v2
61+
with:
62+
image: edpm-bootc
63+
tags: ${{ env.latesttag }} ${{ github.sha }}
64+
containerfiles: |
65+
./bootc/Containerfile.centos9
66+
context: bootc
5867

5968
- name: Push edpm-bootc To ${{ env.imageregistry }}
6069
id: push-edpm-bootc

0 commit comments

Comments
 (0)