Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/espressif/github-esp-dockerfiles
Dockerfiles for Espressif Github self-hosted runners
https://github.com/espressif/github-esp-dockerfiles
Last synced: 2 days ago
JSON representation
Dockerfiles for Espressif Github self-hosted runners
- Host: GitHub
- URL: https://github.com/espressif/github-esp-dockerfiles
- Owner: espressif
- Created: 2022-02-17T07:28:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-23T13:34:58.000Z (about 1 year ago)
- Last Synced: 2024-09-18T15:59:47.238Z (8 days ago)
- Language: Dockerfile
- Size: 20.5 KB
- Stars: 1
- Watchers: 11
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-esp-dockerfiles
This is the project for the standard Docker files. The images can be reused in GH events mainly on self-hosted runners.## Building a Docker image
- create a directory in the root of this project with the same name as the future Docker image.
- prepare a `Dockerfile` and place it in this new directory
- create a GH workflow (GH action) in `.github/workflows/build_image_.yml``RECOMMENDATION:` The existing `.yml` workflow file can be copied and edited.
- Edit paths in the workflow file
- Set the following env variables in the workflow file:| env | value | example |
|-------------|-------------------------------|-----------------------------------------------|
| IMAGE_DIR | Dockefile directory (context) | ./pyenv_python |
| IMAGE_NAME | full image name | ghcr.io/${{ github.repository }}/pyenv_python |
| IMAGE_TAG | image version tag | v1 |
| IMAGE_ARCHS | build for architectures | linux/amd64,linux/arm,linux/arm64 |- the image is pushed to the GH packages of this repository only when merged into the `master` branch
- from there it can be used in any other project (images are public)