Skip to content

Conversation

@sarahsanders-docker
Copy link
Contributor

Description

Related issues or tickets

Reviews

  • Technical review

@github-actions github-actions bot added the area/build Relates to Dockerfiles or docker build command label Feb 12, 2025
@netlify
Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 63491cb
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/67acb92a40a22700087274fd
😎 Deploy Preview https://deploy-preview-22016--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@thaJeztah
Copy link
Member

@crazy-max PTAL (is this a bug in the action?)

platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,"name=${{ env.DOCKERHUB_REPO }},${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=true
outputs: type=image,"name=${{ env.DOCKERHUB_REPO }}:latest,${{ env.GHCR_REPO }}:latest",push-by-digest=true,name-canonical=true,push=true
Copy link
Member

@crazy-max crazy-max Feb 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No we should not set a tag here, only repo name as we are pushing by digest with push-by-digest=true and merging these to create tags in merge job. If that fails that means something odd happens on this runner. I will ask to the user having this issue.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I indeed tried adding tags at this step but this leads to strange results as then randomly one of the platform images will have e.g. the latest tag or a semver tag like 0.3.9, which then makes it impossible to use those tags on the other architectures.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the link to the workflow and the full workflow file to the issue.

@sarahsanders-docker sarahsanders-docker changed the title quick fix: add tags to Build code sample quick fix: add tags to build code sample Feb 12, 2025
@sarahsanders-docker sarahsanders-docker marked this pull request as draft February 12, 2025 15:26
@sarahsanders-docker sarahsanders-docker deleted the build-tag-error branch March 12, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Relates to Dockerfiles or docker build command status/review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants