Skip to content
New issue

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

Publish a docker image #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ciaranmcnulty
Copy link

I saw some chat on #784 and thought 'that doesn't seem hard'

Was done as lunch fun so I won't be offended if it's not used :)


- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Copy link
Author

@ciaranmcnulty ciaranmcnulty Jul 5, 2022

Choose a reason for hiding this comment

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

These secrets would need to be configured in the cucumber repo, but that's all that's required

@ciaranmcnulty
Copy link
Author

ciaranmcnulty commented Jul 5, 2022

You can see a successful run here in my fork https://github.com/ciaranmcnulty/json-formatter/actions/runs/2616825975

And the resulting multi-arch tags: https://hub.docker.com/repository/docker/ciaranmcnulty/json-formatter

For some reason the commits weren't signed so the hash for that build is different but I promise it's the same!

@iomedico-beyer
Copy link

Do you have an idea how I can use that container within these Cypress Docker images? They say “Error: spawn docker ENOENT”. I guess that means the Docker containers don’t know docker. Sorry, if this is a dumb question. I’m new to Docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants