From e266f7a8138e41d52d30a0d740479104b7f8d28c Mon Sep 17 00:00:00 2001 From: binhex Date: Tue, 19 Sep 2023 21:06:33 +0100 Subject: [PATCH] add arg for test image --- .github/workflows/workflow-docker-manual.yml | 2 ++ .github/workflows/workflow-docker-release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/workflow-docker-manual.yml b/.github/workflows/workflow-docker-manual.yml index 8a3a5df..d1f8576 100644 --- a/.github/workflows/workflow-docker-manual.yml +++ b/.github/workflows/workflow-docker-manual.yml @@ -75,6 +75,8 @@ jobs: context: . load: true tags: ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} + build-args: | + RELEASETAG=${{ github.event.inputs.tags }} - name: Run tests using previously built image shell: bash run: | diff --git a/.github/workflows/workflow-docker-release.yml b/.github/workflows/workflow-docker-release.yml index f62e335..8c7b416 100644 --- a/.github/workflows/workflow-docker-release.yml +++ b/.github/workflows/workflow-docker-release.yml @@ -88,6 +88,8 @@ jobs: context: . load: true tags: ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }} + build-args: | + RELEASETAG=${{ steps.identify_github_release_tag_name.outputs.tag }} - name: Run tests using previously built image shell: bash run: |