File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 66 - ' *'
77 paths :
88 - bootc/**
9+ - .github/workflows/edpm-bootc.yaml
910 workflow_dispatch :
1011
1112env :
1213 imageregistry : ' quay.io'
1314 imagenamespace : ${{ secrets.IMAGENAMESPACE || secrets.QUAY_USERNAME }}
1415 latesttag : latest
1516
17+ defaults :
18+ run :
19+ shell : bash
20+ working-directory : ./bootc
21+
1622jobs :
1723
1824 check-secrets :
@@ -40,16 +46,14 @@ jobs:
4046
4147 - name : Set latest tag for non main branch
4248 if : " ${{ steps.branch-name.outputs.current_branch != 'main' }}"
43- shell : bash
4449 run : |
4550 echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
4651
4752 - name : Build edpm-bootc
4853 id : build-edpm-bootc
49- shell : bash
5054 run : |
51- cd bootc
5255 export EDPM_BOOTC_TAG=${latesttag}
56+ 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"
5357 make build
5458
5559 - name : Push edpm-bootc To ${{ env.imageregistry }}
6367 password : ${{ secrets.QUAY_PASSWORD }}
6468
6569 - name : Print image url and digest
66- shell : bash
6770 run : |
6871 echo "Image pushed to ${{ steps.push-edpm-bootc.outputs.registry-paths }}"
6972 echo "Image digest: ${{ steps.push-edpm-bootc.outputs.digest }}"
Original file line number Diff line number Diff line change 1+ SHELL := /bin/bash
12EDPM_BOOTC_REPO ?= quay.io/openstack-k8s-operators/edpm-bootc
23EDPM_BOOTC_TAG ?= latest
34EDPM_CONTAINERFILE ?= Containerfile.centos9
You can’t perform that action at this time.
0 commit comments