File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ jobs:
130
130
image : centos7-builder:${{ github.sha }}
131
131
run : /build.sh
132
132
options : -v ${{ github.workspace }}/build/package/rpm:/rpm -v ${{ github.workspace }}/build_output:/build_output
133
- - name : Build Image Centos 8
133
+ - name : Build Image Centos stream 8
134
134
uses : docker/build-push-action@v2
135
135
with :
136
136
file : build/Dockerfile
@@ -139,14 +139,14 @@ jobs:
139
139
load : true
140
140
cache-from : type=gha
141
141
cache-to : type=gha,mode=max
142
- tags : centos8 -builder:${{ github.sha }}
142
+ tags : centosstream8 -builder:${{ github.sha }}
143
143
build-args : |
144
- CONTAINER_VERSION=centos:8
144
+ CONTAINER_VERSION=quay.io/ centos/centos:stream8
145
145
OS_TYPE=rpm_based
146
- - name : Run Centos 8
146
+ - name : Run Centos stream 8
147
147
uses : addnab/docker-run-action@v3
148
148
with :
149
- image : centos8 -builder:${{ github.sha }}
149
+ image : centosstream8 -builder:${{ github.sha }}
150
150
run : /build.sh
151
151
options : -v ${{ github.workspace }}/build/package/rpm:/rpm -v ${{ github.workspace }}/build_output:/build_output
152
152
- name : Build Image Debian
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ TARGET ?= local
2
2
3
3
export DOCKER_BUILDKIT = 1
4
4
5
- all : amazon amazon2 centos7 centos8 debian
5
+ all : amazon amazon2 centos7 centosstream8 debian
6
6
7
7
.PHONY : test
8
8
test :
@@ -31,9 +31,9 @@ centos7: build
31
31
docker build -t centos7-builder --target ${TARGET} --build-arg CONTAINER_VERSION=centos:7 --build-arg OS_TYPE=rpm_based -f build/Dockerfile .
32
32
docker run --rm -v $(shell pwd) /build/package/rpm:/rpm -v $(shell pwd) /build_output:/build_output centos7-builder
33
33
34
- centos8 : build
35
- docker build -t centos8 -builder --target ${TARGET} --build-arg CONTAINER_VERSION=centos:8 --build-arg OS_TYPE=rpm_based -f build/Dockerfile .
36
- docker run --rm -v $(shell pwd) /build/package/rpm:/rpm -v $(shell pwd) /build_output:/build_output centos8 -builder
34
+ centosstream8 : build
35
+ docker build -t centosstream8 -builder --target ${TARGET} --build-arg CONTAINER_VERSION=quay.io/ centos/centos:stream8 --build-arg OS_TYPE=rpm_based -f build/Dockerfile .
36
+ docker run --rm -v $(shell pwd) /build/package/rpm:/rpm -v $(shell pwd) /build_output:/build_output centosstream8 -builder
37
37
38
38
debian : build
39
39
docker build -t debian-builder --target ${TARGET} --build-arg OS_TYPE=deb_based -f build/Dockerfile .
You can’t perform that action at this time.
0 commit comments