@@ -29,34 +29,31 @@ jobs:
2929 runs-on : ubuntu-latest
3030 steps :
3131 - name : Install Go
32- uses : actions/setup-go@v4
32+ uses : actions/setup-go@7b8cf10d4e4a01d4992d18a89f4d7dc5a3e6d6f4 # v4
3333 with :
3434 go-version : ${{ inputs.go_version }}
3535 cache : false
3636 - name : Checkout openstack-operator repository
37- uses : actions/checkout@v4
37+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3838 with :
3939 path : ./openstack-operator
40- - name : Get branch name
41- id : branch-name
42- uses : tj-actions/branch-names@v9
4340 - name : Set latest tag for non main branch
44- if : " ${{ steps.branch-name.outputs.current_branch != 'main' }}"
41+ if : " ${{ github.ref_name != 'main' }}"
4542 run : |
46- echo "latesttag=${{ steps.branch-name.outputs.current_branch }}-latest" >> $GITHUB_ENV
43+ echo "latesttag=${{ github.ref_name }}-latest" >> $GITHUB_ENV
4744 - name : Install opm
48- uses : redhat-actions/openshift-tools-installer@v1
45+ uses : redhat-actions/openshift-tools-installer@144527c7d98999f2652264c048c7a9bd103f8a82 # v1
4946 with :
5047 source : github
5148 opm : ' latest'
5249 - name : Log in to Quay Registry
53- uses : redhat-actions/podman-login@v1
50+ uses : redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1
5451 with :
5552 registry : ${{ env.imageregistry }}
5653 username : ${{ secrets.QUAY_USERNAME }}
5754 password : ${{ secrets.QUAY_PASSWORD }}
5855 - name : Log in to Red Hat Registry
59- uses : redhat-actions/podman-login@v1
56+ uses : redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1
6057 with :
6158 registry : registry.redhat.io
6259 username : ${{ secrets.REDHATIO_USERNAME }}
@@ -66,20 +63,20 @@ jobs:
6663 run : ./openstack-operator/hack/catalog-build-olm-upgrade.sh
6764 env :
6865 # FIXME: these should be pulled from a YAML config in the main operator directory?
69- MAIN_VERSION : 0.6 .0
70- FEATURE_RELEASE_VERSION : 0.5 .0
71- FEATURE_RELEASE_BRANCH : 18.0-fr5
66+ MAIN_VERSION : 0.7 .0
67+ FEATURE_RELEASE_VERSION : 0.6 .0
68+ FEATURE_RELEASE_BRANCH : 18.0-fr6
7269 BUNDLE : ${{ env.imageregistry }}/${{ env.imagenamespace }}/openstack-operator-bundle:${{ github.sha }}
7370 - name : Buildah Action
7471 id : build-operator-index-upgrade
75- uses : redhat-actions/buildah-build@v2
72+ uses : redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2
7673 with :
7774 image : openstack-operator-index-upgrade
7875 tags : ${{ env.latesttag }} ${{ github.sha }}
7976 containerfiles : |
8077 ./catalog.Dockerfile
8178 - name : Push openstack-operator-index-upgrade To ${{ env.imageregistry }}
82- uses : redhat-actions/push-to-registry@v2
79+ uses : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
8380 with :
8481 image : ${{ steps.build-operator-index-upgrade.outputs.image }}
8582 tags : ${{ steps.build-operator-index-upgrade.outputs.tags }}
0 commit comments