File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ name: Promote
33on :
44 workflow_call :
55 secrets :
6+ registry-password :
7+ description : ' Password or token for registry login'
8+ required : false
69 checkout-token :
710 description : ' Checkout token with repo permissions'
811 required : false
8992 required : false
9093 type : boolean
9194 default : true
95+ registry-username :
96+ description : ' The container registry username'
97+ required : false
98+ default : ${{ github.actor }}
99+ type : string
92100 image-digests :
93101 description : ' JSON with all merged image manifest digests'
94102 required : false
@@ -138,7 +146,7 @@ jobs:
138146
139147 - name : promote container images
140148 if : inputs.image-digests != ''
141- uses : getdevopspro/github-actions/buildx-bake/promote@v5 .0.0
149+ uses : getdevopspro/github-actions/buildx-bake/promote@v6 .0.0
142150 with :
143151 version : ${{ steps.release_version.outputs.version }}
144152 image-digests : ${{ inputs.image-digests }}
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ release-version:
2424 -e ' s%getdevopspro/github-actions/buildx-bake/prepare@v.*%getdevopspro/github-actions/buildx-bake/prepare@v$(VERSION)%g' \
2525 -e ' s%getdevopspro/github-actions/buildx-bake/build@v.*%getdevopspro/github-actions/buildx-bake/build@v$(VERSION)%g' \
2626 -e ' s%getdevopspro/github-actions/buildx-bake/merge@v.*%getdevopspro/github-actions/buildx-bake/merge@v$(VERSION)%g' \
27+ -e ' s%getdevopspro/github-actions/buildx-bake/promote@v.*%getdevopspro/github-actions/buildx-bake/promote@v$(VERSION)%g' \
2728 -e ' s%getdevopspro/github-actions/release-version@v.*%getdevopspro/github-actions/release-version@v$(VERSION)%g' \
2829 -e ' s%getdevopspro/github-actions/release-git-push@v.*%getdevopspro/github-actions/release-git-push@v$(VERSION)%g' \
2930 $(WORKFLOW_FILES )
You can’t perform that action at this time.
0 commit comments