File tree Expand file tree Collapse file tree 2 files changed +4
-18
lines changed
Expand file tree Collapse file tree 2 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,10 @@ jobs:
137137 - name : ⤵️ Download base image
138138 if : steps.flags.outputs.from != 'null'
139139 run : docker pull "${{ steps.flags.outputs.from }}"
140- - name : 🚀 Build
140+ - name : 🚀 Build & Push
141141 uses : docker/build-push-action@v6.18.0
142142 with :
143- load : true
143+ outputs : type=image,oci-mediatypes=true,compression=zstd,push= true
144144 # yamllint disable rule:line-length
145145 tags : |
146146 ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }}
@@ -170,13 +170,6 @@ jobs:
170170 run : |
171171 rm -rf /tmp/.docker-cache
172172 mv /tmp/.docker-cache-new /tmp/.docker-cache
173- - name : 🚀 Push
174- # yamllint disable rule:line-length
175- run : |
176- docker push \
177- "ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }}"
178- docker push \
179- "ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.version }}"
180173
181174 publish-edge :
182175 name : 📢 Publish to edge repository
Original file line number Diff line number Diff line change @@ -102,10 +102,10 @@ jobs:
102102 registry : ghcr.io
103103 username : ${{ github.repository_owner }}
104104 password : ${{ secrets.GITHUB_TOKEN }}
105- - name : 🚀 Build
105+ - name : 🚀 Build & Push
106106 uses : docker/build-push-action@v6.18.0
107107 with :
108- load : true
108+ outputs : type=image,oci-mediatypes=true,compression=zstd,push= true
109109 # yamllint disable rule:line-length
110110 tags : |
111111 ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }}
@@ -125,13 +125,6 @@ jobs:
125125 BUILD_REF=${{ github.sha }}
126126 BUILD_REPOSITORY=${{ github.repository }}
127127 BUILD_VERSION=${{ needs.information.outputs.version }}
128- - name : 🚀 Push
129- # yamllint disable rule:line-length
130- run : |
131- docker push \
132- "ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }}"
133- docker push \
134- "ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.version }}"
135128
136129 manifest :
137130 name : 👷 Build & Deploy Multi Arch Manifest
You can’t perform that action at this time.
0 commit comments