From ee436f8e68375b26b96930e46e630702ebadfdef Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Tue, 28 Nov 2023 19:38:13 +0200 Subject: [PATCH] Set version in docker on regular builds too --- .github/workflows/docker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index aca316a..9295b92 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -32,6 +32,7 @@ jobs: docker buildx build . --file DiscordChatExporter.Cli.dockerfile --platform linux/amd64,linux/arm64 + --build-arg VERSION=${{ github.ref_type == 'tag' && github.ref_name || format('999.9.9-ci-{0}', github.sha) }} --output type=tar,dest=DiscordChatExporter.Cli.Docker.tar - name: Upload artifacts