Skip to content

Comments

Build Docker container in GitHub actions#24

Open
obbardc wants to merge 1 commit intojuriansluiman:masterfrom
obbardc:wip/obbardc/build-docker-container-ci
Open

Build Docker container in GitHub actions#24
obbardc wants to merge 1 commit intojuriansluiman:masterfrom
obbardc:wip/obbardc/build-docker-container-ci

Conversation

@obbardc
Copy link

@obbardc obbardc commented Aug 21, 2022

For each branch, build a docker container inside GitHub
actions and push the resultant image to GitHub container
registry.

Builds from the default branch are tagged as latest, while
branches and tags also are pushed to the container registry
to keep the container history tied to the repository
metadata.

Signed-off-by: Christopher Obbard chris@64studio.com

an example run is available at: https://github.com/obbardc/groceri.es/runs/7938095796?check_suite_focus=true
an example container is available from: docker pull ghcr.io/obbardc/groceri.es:wip-obbardc-build-docker-container-ci

For each branch, build a docker container inside GitHub
actions and push the resultant image to GitHub container
registry.

Builds from the default branch are tagged as latest, while
branches and tags also are pushed to the container registry
to keep the container history tied to the repository
metadata.

Signed-off-by: Christopher Obbard <chris@64studio.com>
@obbardc obbardc marked this pull request as ready for review August 21, 2022 10:17
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.

1 participant