File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1414 - main
1515 - release-*
1616
17+ permissions :
18+ contents : write
19+ packages : write
20+
1721jobs :
1822 image :
1923 name : build image
@@ -28,18 +32,18 @@ jobs:
2832 images : ghcr.io/ionos-cloud/cluster-api-provider-proxmox
2933
3034 - name : Login to GitHub Container Registry
31- if : github.event_name != 'pull_request'
35+ # if: github.event_name != 'pull_request'
3236 uses : docker/login-action@v3
3337 with :
3438 registry : ghcr.io
35- username : ${{ secrets.BOT_USERNAME }}
36- password : ${{ secrets.BOT_PAT }}
39+ username : ${{ github.actor }}
40+ password : ${{ secrets.GITHUB_TOKEN }}
3741
3842 - name : Build and push Docker image
3943 uses : docker/build-push-action@v5
4044 with :
4145 context : .
42- push : ${{ github.event_name != 'pull_request' }}
46+ push : true
4347 tags : ${{ steps.meta.outputs.tags }}
4448 labels : ${{ steps.meta.outputs.labels }}
4549
You can’t perform that action at this time.
0 commit comments