hello github actions
A repository exploring GitHub Actions to automate Docker deployments.
Publishing to GitHub Container Registry requires a @latest/developers/apps/about-apps#personal-access-tokens">personal access token with these scopes:
Store the personal access token value in a repository encypted secret (e.g. CR_PAT
)
Use the repository encypted secret in a workflow file: GCR_PASSWORD: ${{ secrets.CR_PAT }}
Find the published docker images in packages type container: https://github.com/[username]?ecosystem=container&tab=packages.
Please note: these images’ visibility is private.
GitHub actions workflow file: https://github.com/lotharschulz/hello-github-actions/blob/main/.github/workflows/cicd.yml#L209-L228
Publishing Docker Images to GitHub Packages using:
Find the published docker images in packages type docker: https://github.com/[username]?ecosystem=docker&tab=packages. These images’ visibility is public.
See also Publishing Docker images.
This repository contains a workflow to
All that is defined in cicd.yml file.
make build
make test
make benchmark
make run
make build.docker
make clean