Skip to content
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+publication l'image Docker sur GitHub container registry #2

Merged
merged 8 commits into from
Sep 6, 2021

Conversation

thbar
Copy link
Collaborator

@thbar thbar commented Sep 2, 2021

Cette PR permet de faire en sorte qu'à chaque PR ou merge vers master, on reconstruire l'image Docker avec les outils configurés ici (convertisseurs, validateurs), puis, en cas de réussite, qu'elle soit publiée comme image Docker directement sur GitHub (https://github.com/etalab/transport-tools/pkgs/container/transport-tools).

Pour l'instant, le push est fait sans tests (voir #3, cela sera à faire dans le futur).

@@ -9,7 +9,6 @@ RUN cargo build --release
RUN strip ./target/release/gtfs-geojson

# https://github.com/etalab/transport-validator.git (rust app)
FROM rust:latest as builder
Copy link
Collaborator Author

@thbar thbar Sep 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avec la dernière MAJ de Docker (apparemment, si je comprends bien), l'usage double du même FROM rust:latest as builder, déjà utilisé au dessus, levait une erreur (souci de clés de cache).

@thbar thbar changed the title [WIP] Build Docker image automatically Build et publication de l'image Docker via GitHub container registry Sep 6, 2021
@thbar thbar merged commit ce2d65f into master Sep 6, 2021
@thbar thbar deleted the build-image-as-docker-action branch September 6, 2021 13:59
@thbar thbar changed the title Build et publication de l'image Docker via GitHub container registry Build+publication l'image Docker sur GitHub container registry Sep 7, 2021
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