From 500b9a398508d371185798e37bedeb99c195b573 Mon Sep 17 00:00:00 2001 From: Kevin Counihan Date: Tue, 3 Dec 2024 05:49:05 -0800 Subject: [PATCH] fix template variables --- .github/workflows/pull-request.template.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.template.yml b/.github/workflows/pull-request.template.yml index e0c5bda..1d20070 100644 --- a/.github/workflows/pull-request.template.yml +++ b/.github/workflows/pull-request.template.yml @@ -69,7 +69,7 @@ jobs: file: ./Dockerfile push: true target: dependencies - tags: us-docker.pkg.dev/uwit-mci-iam/containers/netid_arrest.dependencies:${{ env.pr_tag }} + tags: us-docker.pkg.dev/uwit-mci-iam/containers/${template:app_name}.dependencies:${{ env.pr_tag }} secret-files: | "gcloud_auth_credentials=${{ steps.auth.outputs.credentials_file_path }}" @@ -80,7 +80,7 @@ jobs: file: ./Dockerfile push: true target: app - tags: us-docker.pkg.dev/uwit-mci-iam/containers/netid_arrest.app:${{ env.pr_tag }} + tags: us-docker.pkg.dev/uwit-mci-iam/containers/${template:app_name}.app:${{ env.pr_tag }} - name: Build and push Docker image (tests) uses: docker/build-push-action@v5 @@ -89,7 +89,7 @@ jobs: file: ./Dockerfile push: true target: tests - tags: us-docker.pkg.dev/uwit-mci-iam/containers/netid_arrest.tests:${{ env.pr_tag }} + tags: us-docker.pkg.dev/uwit-mci-iam/containers/${template:app_name}.tests:${{ env.pr_tag }} - uses: mshick/add-pr-comment@v2 env: