From 2857a10f54cab26eeb50bc7b00f089e7cbe7647a Mon Sep 17 00:00:00 2001 From: Willy Date: Wed, 1 Feb 2023 22:18:00 +0100 Subject: [PATCH] pass version info to docker build --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e48f8022..96260cf0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -462,7 +462,9 @@ jobs: GITHUB_TOKEN: ${{ github.token }} push_strategy: artifact platforms: linux/amd64 - # TODO pass version and commit as docker build args + args: + COMMIT=${{ github.sha }} + VERSION=${{ needs.data.outputs.version }} # all other release jobs should be based on this release: