Skip to content

Development

Jonas Brømsø edited this page Oct 18, 2020 · 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.

Pushing the Docker image to DockerHub

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

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

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

Latest is always build automatically from master. Remember to logout between switching repositories.

Pushing the Docker image to GitHub

# login
# REF: https://docs.github.com/en/free-pro-team@latest/packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images
$ cat GITHUB_ACCESS_TOKEN | docker login ghcr.io -u jonasbn --password-stdin

# Tag 
$ docker tag ghcr.io/jonasbn/ebirah:TAGNAME

# Push
$ docker push ghcr.io/jonasbn/ebirah:TAGNAME

Remember to logout between switching repositories.

Clone this wiki locally