We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this a docs issue? My issue is about the documentation content or website Type of issue I can't find what I'm looking for Description In the example for the workflow using the matrix, setting the tags isn't shown. Location https://docs.docker.com/build/ci/github-actions/multi-platform/ Suggestion Do the tags only need to be set in the meta section? I'm trying this: - name: Docker meta id: meta uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} tags: type=raw,value=dependencies-latest - name: Build and push by digest id: build uses: docker/build-push-action@v5 with: context: . file: ./dependencies.dockerfile platforms: ${{ matrix.platform }} labels: ${{ steps.meta.outputs.labels }} outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true tags: ${{ steps.meta.outputs.tags }} The build finishes but the push fails: #15 exporting config sha256:702f28b89befc2ea0d12a904c3a353ccf80cb4be0d9770769b5839c9b997e53b done #15 exporting attestation manifest sha256:65234ecf26b23171773d75ec90596e1d200641ca2e5d54a9a6ec327a2e7be124 done #15 exporting manifest list sha256:e8b40fa8f621c7cd0a07cdafaaa3572809007aca2bcd2afc42a46cbeecf61800 done #15 ERROR: failed to push ***/linuxdeploy:dependencies-latest: can't push tagged ref docker.io/***/linuxdeploy:dependencies-latest by digest ------ > exporting to image: ------ ERROR: failed to solve: failed to push ***/linuxdeploy:dependencies-latest: can't push tagged ref docker.io/***/linuxdeploy:dependencies-latest by digest Error: buildx failed with: ERROR: failed to solve: failed to push ***/linuxdeploy:dependencies-latest: can't push tagged ref docker.io/***/linuxdeploy:dependencies-latest by digest
I can't find what I'm looking for
In the example for the workflow using the matrix, setting the tags isn't shown.
https://docs.docker.com/build/ci/github-actions/multi-platform/
Do the tags only need to be set in the meta section?
I'm trying this:
- name: Docker meta id: meta uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} tags: type=raw,value=dependencies-latest
- name: Build and push by digest id: build uses: docker/build-push-action@v5 with: context: . file: ./dependencies.dockerfile platforms: ${{ matrix.platform }} labels: ${{ steps.meta.outputs.labels }} outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true tags: ${{ steps.meta.outputs.tags }}
The build finishes but the push fails:
#15 exporting config sha256:702f28b89befc2ea0d12a904c3a353ccf80cb4be0d9770769b5839c9b997e53b done #15 exporting attestation manifest sha256:65234ecf26b23171773d75ec90596e1d200641ca2e5d54a9a6ec327a2e7be124 done #15 exporting manifest list sha256:e8b40fa8f621c7cd0a07cdafaaa3572809007aca2bcd2afc42a46cbeecf61800 done #15 ERROR: failed to push ***/linuxdeploy:dependencies-latest: can't push tagged ref docker.io/***/linuxdeploy:dependencies-latest by digest ------ > exporting to image: ------ ERROR: failed to solve: failed to push ***/linuxdeploy:dependencies-latest: can't push tagged ref docker.io/***/linuxdeploy:dependencies-latest by digest Error: buildx failed with: ERROR: failed to solve: failed to push ***/linuxdeploy:dependencies-latest: can't push tagged ref docker.io/***/linuxdeploy:dependencies-latest by digest
Originally reported by @andy5995 in #19339 but closed by a stupid stalebot
The text was updated successfully, but these errors were encountered:
An example at https://github.com/andy5995/gh-action-build-deb/blob/4897ec2a4e645c1f31580becf733aa0721628e67/.github/workflows/docker.yml#L114
Basically, they should be added in the Meta step of the merge job.
Sorry, something went wrong.
No branches or pull requests
Originally reported by @andy5995 in #19339 but closed by a stupid stalebot
The text was updated successfully, but these errors were encountered: