Skip to content

Development

Jonas Brømsø edited this page May 13, 2021 · 17 revisions

The primary notes on development of this repository is included in the README. This page contains notes on tips and tricks for developing on the Spellcheck GitHub Action. I mostly write these for myself, since I cannot always remember all the small things.

Building the Docker image for DockerHub

$ docker build -t github-action-spellcheck:latest .

Pushing the Docker image to DockerHub

# login
$ cat DOCKERHUB_ACCESS_TOKEN | docker login -u jonasbn --password-stdin

# Tag 
$ docker tag jonasbn/github-action-spellcheck jonasbn/github-action-spellcheck:TAGNAME

# Push
$ docker push jonasbn/github-action-spellcheck:TAGNAME

latest is not built automatically at this time, so remember to tag and push latest also.

# Push
$ docker push jonasbn/github-action-spellcheck:latest

You can check DockerHub using hub-tool

❯ hub-tool tag ls jonasbn/github-action-spellcheck
2FA required, please provide the 6 digit code: ******
TAG                                        DIGEST                                                                     STATUS      LAST UPDATE       LAST PUSHED    LAST PULLED    SIZE
jonasbn/github-action-spellcheck:latest    sha256:dc6c61976b7afef0372a6765af4f2ccba36e3f895f4fe00a457f2b421e454e4a    active      35 minutes ago    35 minutes     40 minutes     71.33MB
jonasbn/github-action-spellcheck:0.14.0    sha256:dc6c61976b7afef0372a6765af4f2ccba36e3f895f4fe00a457f2b421e454e4a    active      35 minutes ago    35 minutes     40 minutes     71.33MB
jonasbn/github-action-spellcheck:0.13.0    sha256:dc6c61976b7afef0372a6765af4f2ccba36e3f895f4fe00a457f2b421e454e4a    active      4 weeks ago       4 weeks        40 minutes     71.33MB
jonasbn/github-action-spellcheck:0.12.0    sha256:5775daa8d4916b63b026dcf40f0b1531d4aa8de23b829ce09f6ceb66707cc434    active      2 months ago      2 months       4 weeks        72.95MB
jonasbn/github-action-spellcheck:0.11.0    sha256:ab474850bc00020cb892d21cdfae17e8f2cf8f3fa5904c28a315de4e7658bc65    inactive    2 months ago      2 months       2 months       71.22MB
jonasbn/github-action-spellcheck:0.10.0    sha256:59fbce430c11227544820082dfb549e0bfc2998919ef49673ac0ea5eb8a7f47e    inactive    3 months ago      3 months       2 months       69.99MB
jonasbn/github-action-spellcheck:0.9.1     sha256:746cf5f4279026848bee95681363d564ae4000f9f521fb52284533a5a18ff556    inactive    4 months ago      4 months       3 months       69.99MB
jonasbn/github-action-spellcheck:0.9.0     sha256:746cf5f4279026848bee95681363d564ae4000f9f521fb52284533a5a18ff556    inactive    4 months ago      4 months       3 months       69.99MB

Publishing to the GitHub Marketplace

The publishing process is completed using the release process on GitHub, so first you tag the repository and then you outline the release.

Clone this wiki locally