@@ -59,10 +59,10 @@ jobs:
5959 PR_BRANCH_NAME : adjustments-release-${{ github.event.inputs.version }}
6060
6161 steps :
62- - uses : actions/checkout@v3
62+ - uses : actions/checkout@v4
6363
6464 - name : Set Go
65- uses : actions/setup-go@v3
65+ uses : actions/setup-go@v5
6666 with :
6767 go-version : v1.20
6868
7979 GITHUB_TOKEN : ${{ github.TOKEN }}
8080
8181 - name : Activate cache
82- uses : actions/cache@v3
82+ uses : actions/cache@v4
8383 with :
8484 path : /cache
8585 key : ${{ runner.os }}-cache-${{ hashFiles('**/go.sum', '.pre-commit-config.yaml') }}
@@ -108,11 +108,9 @@ jobs:
108108 shell : bash
109109
110110 - name : Login to Quay.io
111- uses : redhat-actions/podman-login@v1
112- with :
113- username : ${{ secrets.QUAY_ID }}
114- password : ${{ secrets.QUAY_TOKEN }}
115- registry : quay.io
111+ id : podman-login-quay
112+ run : |
113+ podman login --username ${{ secrets.QUAY_ID }} --password ${{ secrets.QUAY_TOKEN }} quay.io
116114
117115 - name : Align go.mod and go.sum dependencies for released components
118116 run : |
@@ -140,7 +138,7 @@ jobs:
140138
141139 - name : Commit changes in the code back to repository
142140 id : create-pr-branch
143- uses : stefanzweifel/git-auto-commit-action@v4
141+ uses : stefanzweifel/git-auto-commit-action@v5
144142 with :
145143 commit_message : Update dependency versions for release ${{ github.event.inputs.version }}
146144 file_pattern : ' README.md *.yaml Makefile go.mod go.sum *.env'
@@ -199,3 +197,8 @@ jobs:
199197 GH_TOKEN : ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
200198 OPERATORS_REPO_FORK_ORG : ${{ github.event.inputs.community-operators-prod-fork-organization }}
201199 OPERATORS_REPO_ORG : ${{ github.event.inputs.community-operators-prod-organization }}
200+
201+ - name : Logout from Quay.io
202+ if : always() && steps.podman-login-quay.outcome == 'success'
203+ run : |
204+ podman logout quay.io
0 commit comments