File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,10 +131,10 @@ jobs:
131131 registry : ghcr.io
132132 username : ${{ github.repository_owner }}
133133 password : ${{ secrets.GITHUB_TOKEN }}
134- - name : 🚀 Build
134+ - name : 🚀 Build and push
135135 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
136136 with :
137- load : true
137+ push : true
138138 # yamllint disable rule:line-length
139139 tags : |
140140 ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }}
@@ -157,19 +157,6 @@ jobs:
157157 BUILD_REF=${{ github.sha }}
158158 BUILD_REPOSITORY=${{ github.repository }}
159159 BUILD_VERSION=${{ needs.information.outputs.version }}
160- - name : 🚀 Push
161- env :
162- REPO_OWNER : ${{ github.repository_owner }}
163- SLUG : ${{ needs.information.outputs.slug }}
164- ARCHITECTURE : ${{ matrix.architecture }}
165- ENVIRONMENT : ${{ needs.information.outputs.environment }}
166- VERSION : ${{ needs.information.outputs.version }}
167- # yamllint disable rule:line-length
168- run : |
169- docker push \
170- "ghcr.io/${REPO_OWNER}/${SLUG}/${ARCHITECTURE}:${ENVIRONMENT}"
171- docker push \
172- "ghcr.io/${REPO_OWNER}/${SLUG}/${ARCHITECTURE}:${VERSION}"
173160
174161 manifest :
175162 name : 👷 Build & Push Multi Arch Manifest
Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ jobs:
9595 registry : ghcr.io
9696 username : ${{ github.repository_owner }}
9797 password : ${{ secrets.GITHUB_TOKEN }}
98- - name : 🚀 Build
98+ - name : 🚀 Build and push
9999 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
100100 with :
101- load : true
101+ push : true
102102 # yamllint disable rule:line-length
103103 tags : |
104104 ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }}
@@ -119,19 +119,6 @@ jobs:
119119 BUILD_REF=${{ github.sha }}
120120 BUILD_REPOSITORY=${{ github.repository }}
121121 BUILD_VERSION=${{ needs.information.outputs.version }}
122- - name : 🚀 Push
123- env :
124- REPO_OWNER : ${{ github.repository_owner }}
125- SLUG : ${{ needs.information.outputs.slug }}
126- ARCHITECTURE : ${{ matrix.architecture }}
127- ENVIRONMENT : ${{ needs.information.outputs.environment }}
128- VERSION : ${{ needs.information.outputs.version }}
129- # yamllint disable rule:line-length
130- run : |
131- docker push \
132- "ghcr.io/${REPO_OWNER}/${SLUG}/${ARCHITECTURE}:${ENVIRONMENT}"
133- docker push \
134- "ghcr.io/${REPO_OWNER}/${SLUG}/${ARCHITECTURE}:${VERSION}"
135122
136123 manifest :
137124 name : 👷 Build & Push Multi Arch Manifest
You can’t perform that action at this time.
0 commit comments