Skip to content

Conversation

alexellis
Copy link
Member

Description

Inject version and SHA from GitHub Actions

Motivation and Context

Inverts the dependency so that the .git folder is not required inside the Docker build.

How Has This Been Tested?

Via docker build locally, and via CI now

@alexellis alexellis force-pushed the inject_sha_from_actions branch from 35e2199 to 7b7b088 Compare July 27, 2021 09:24
Inverts where the git version comes from, from being within
the Dockerfile, to residing outside and being injected in.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@alexellis alexellis force-pushed the inject_sha_from_actions branch from 7b7b088 to 0e9e03e Compare July 27, 2021 09:25
@alexellis alexellis merged commit b5f165b into master Jul 27, 2021
@alexellis alexellis deleted the inject_sha_from_actions branch July 27, 2021 09:28
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