From 402b91187feae554885a3a0fdedfce587a29a486 Mon Sep 17 00:00:00 2001 From: jakubmanczak Date: Sun, 14 Jul 2024 23:45:51 +0200 Subject: [PATCH] github sha pass to docker --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0001b6e..b7c3a51 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build image - run: docker build -t rustapi . + run: docker build -t rustapi -build-arg GITHUB_SHA=$GITHUB_SHA . - name: Run image run: | docker stop rustapi || true