-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Docker image and push to GHCR #230
base: unstable/v1
Are you sure you want to change the base?
Commits on Sep 7, 2024
-
Build Docker image and push to GHCR
Up to this point, the project has been set up as a Docker action referencing the Dockerfile. The downside to using the Dockerfile for the action is that the Docker image must be built every time the action is used. This commit will set up the project to build the Docker image and push it to GitHub Container Registry (GHCR). This change will speed up user workflows every time the action is used because the workflows will simply pull the Docker image from GHCR instead of building again. Changes: - Add required metadata to Dockerfile - Build container image with GitHub Actions - Push container image to GHCR Docker actions support pulling in pre-built Docker images. The downside is that there's no way to specify the correct Docker tag because the GitHub Actions `image` and `uses:` keys don't accept any context. For example, if a user's workflow has `uses: pypa/gh-action-pypi-publish@release/v1.8`, then the action should pull in a Docker image built from the `release/v1.8` branch, something like `ghcr.io/pypa/gh-action-pypi-publish:release-v1.8` (Docker tags can't have `/`). The workaround is to switch the top-level `action.yml` to a composite action that then calls the Docker action, substituting the correct image name and tag.
Configuration menu - View commit details
-
Copy full SHA for eb50ad4 - Browse repository at this point
Copy the full SHA eb50ad4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e0ccc9 - Browse repository at this point
Copy the full SHA 1e0ccc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6364a07 - Browse repository at this point
Copy the full SHA 6364a07View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6e3290 - Browse repository at this point
Copy the full SHA a6e3290View commit details -
Configuration menu - View commit details
-
Copy full SHA for e236daa - Browse repository at this point
Copy the full SHA e236daaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b17295d - Browse repository at this point
Copy the full SHA b17295dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9337018 - Browse repository at this point
Copy the full SHA 9337018View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59e3edf - Browse repository at this point
Copy the full SHA 59e3edfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90ff142 - Browse repository at this point
Copy the full SHA 90ff142View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e875d - Browse repository at this point
Copy the full SHA 61e875dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c962c33 - Browse repository at this point
Copy the full SHA c962c33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bcf9d8 - Browse repository at this point
Copy the full SHA 1bcf9d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80b172c - Browse repository at this point
Copy the full SHA 80b172cView commit details -
Fail-fast in unsupported environments
pypa#230 (comment) Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Configuration menu - View commit details
-
Copy full SHA for 6eb8d30 - Browse repository at this point
Copy the full SHA 6eb8d30View commit details -
Drop args from create-docker-action.py
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Configuration menu - View commit details
-
Copy full SHA for 8d071a8 - Browse repository at this point
Copy the full SHA 8d071a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce7f9d - Browse repository at this point
Copy the full SHA 1ce7f9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5521a4f - Browse repository at this point
Copy the full SHA 5521a4fView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 031df10 - Browse repository at this point
Copy the full SHA 031df10View commit details
Commits on Sep 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 314a411 - Browse repository at this point
Copy the full SHA 314a411View commit details
Commits on Sep 14, 2024
-
Make smoke test job depend on build job
pypa#230 (comment) Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Configuration menu - View commit details
-
Copy full SHA for fa8a0e8 - Browse repository at this point
Copy the full SHA fa8a0e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 580d9d0 - Browse repository at this point
Copy the full SHA 580d9d0View commit details