Closed dgrebb closed 4 months ago
This adds a GitHub Workflow to build the multi-architecture Docker image, sign into Docker Hub, and push the image.
It uses the current version property in package.json as its tag, the same way npm run build-and-publish or publish-docker do.
version
package.json
npm run build-and-publish
publish-docker
DOCKERHUB_TOKEN
DOCKERHUB_USERNAME
Here's the workflow in action. It fails because my Docker Hub account is not owner of backstopjs. Not the build successes for amd as well as arm.
Hope this helps!
Thank you @dgrebb for keeping this project on-track! Much gratitude! 🙏
This adds a GitHub Workflow to build the multi-architecture Docker image, sign into Docker Hub, and push the image.
It uses the current
version
property inpackage.json
as its tag, the same waynpm run build-and-publish
orpublish-docker
do.Requirements
DOCKERHUB_TOKEN
DOCKERHUB_USERNAME
Example
Here's the workflow in action. It fails because my Docker Hub account is not owner of backstopjs. Not the build successes for amd as well as arm.
Hope this helps!