openfaas / nats-queue-worker

Queue-worker for OpenFaaS with NATS Streaming
https://docs.openfaas.com/reference/async/
MIT License
129 stars 59 forks source link

Inject version and SHA from GitHub Actions #112

Closed alexellis closed 3 years ago

alexellis commented 3 years ago

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