File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Push qe images for new tag
2
+ on :
3
+ push :
4
+ tags :
5
+ - ' *'
6
+ env :
7
+ IMAGE_REGISTRY : quay.io
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-24.04
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ go :
15
+ - ' 1.21'
16
+ os : ['linux', 'windows', 'darwin']
17
+ arch : ['amd64', 'arm64']
18
+ exclude :
19
+ - arch : ' arm64'
20
+ os : ' windows'
21
+ steps :
22
+ - name : Check out repository code
23
+ uses : actions/checkout@v4
24
+ - name : Log in to Quay.io
25
+ uses : redhat-actions/podman-login@v1
26
+ with :
27
+ username : ${{ secrets.QUAY_IO_USERNAME }}
28
+ password : ${{ secrets.QUAY_IO_PASSWORD }}
29
+ registry : ${{ env.IMAGE_REGISTRY }}
30
+ - name : create script of building and push images
31
+ run : |
32
+ cat <<EOF > build-qe-images.sh
33
+ !#/bin/bash
34
+ set -x
35
+ OS=${{matrix.os}} ARCH=${{matrix.arch}} CRC_INTEGRATION_IMG_VERSION=${{ github.ref_name }} make containerized_integration
36
+ podman push quay.io/crcont/crc-integration:${{ github.ref_name }}-${{matrix.os}}-${{matrix.arch}}
37
+ OS=${{matrix.os}} ARCH=${{matrix.arch}} CRC_E2E_IMG_VERSION=${{ github.ref_name }} make containerized_e2e
38
+ podman push quay.io/crcont/crc-e2e:${{ github.ref_name }}-${{matrix.os}}-${{matrix.arch}}
39
+ EOF
40
+ - name : run script to build and push images
41
+ run : |
42
+ chmod +x build-qe-images.sh
43
+ ./build-qe-images.sh
You can’t perform that action at this time.
0 commit comments