From 4f3eb64eea91795a3510d4db94e936964bc7b87a Mon Sep 17 00:00:00 2001 From: Ke Chen Date: Sat, 30 Mar 2024 12:53:28 +0800 Subject: [PATCH] chore: add build-args in GitHub Actions --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4d86b93..4be09b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,4 +32,6 @@ jobs: push: true tags: | ${{ secrets.DOCKERHUB_USERNAME }}/${{ inputs.service_name }}_backend:latest - ${{ secrets.DOCKERHUB_USERNAME }}/${{ inputs.service_name }}_backend:master \ No newline at end of file + ${{ secrets.DOCKERHUB_USERNAME }}/${{ inputs.service_name }}_backend:master + build-args: | + SERVICE_NAME=${{ inputs.service_name }}