File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release project
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+ push :
7
+ branches :
8
+ - main
9
+
10
+ permissions :
11
+ contents : read
12
+
13
+ env :
14
+ REGISTRY_USER : ${{ secrets.REGISTRY_USER }}
15
+ IMAGE_REGISTRY : quay.io
16
+ REGISTRY_PASSWORD : ${{ secrets.REGISTRY_PASSWORD }}
17
+
18
+ jobs :
19
+ release-linux :
20
+ concurrency :
21
+ group : ${{ github.workflow }}-${{ github.ref }}
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+
26
+ - name : Set up QEMU
27
+ uses : docker/setup-qemu-action@v3
28
+
29
+ - name : Log in to Quay.io
30
+ uses : redhat-actions/podman-login@v1
31
+ with :
32
+ username : ${{ env.REGISTRY_USER }}
33
+ password : ${{ env.REGISTRY_PASSWORD }}
34
+ registry : ${{ env.IMAGE_REGISTRY }}
35
+
36
+ - name : Build manifest
37
+ run : |
38
+ podman buildx build --platform linux/amd64,linux/arm64 --manifest edgeinstaller .
39
+
40
+ - name : Push main tag
41
+ run : |
42
+ podman manifest push edgeinstaller docker://quay.io/loganmc10/openshift-edge-installer:${{ github.ref_name }}
43
+
44
+ - name : Push latest tag
45
+ if : ${{ github.event_name == 'release' }}
46
+ run : |
47
+ podman manifest push netplay docker://quay.io/loganmc10/openshift-edge-installer:latest
You can’t perform that action at this time.
0 commit comments