From acd707c5bd67558b5a9fc153514122a599287b32 Mon Sep 17 00:00:00 2001 From: Ben Houston Date: Thu, 11 Apr 2024 12:39:04 -0400 Subject: [PATCH] do not use env var for now. --- .github/actions/dockerize/action.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/actions/dockerize/action.yml b/.github/actions/dockerize/action.yml index c077e7c..c7f78e9 100644 --- a/.github/actions/dockerize/action.yml +++ b/.github/actions/dockerize/action.yml @@ -19,9 +19,6 @@ inputs: required: true default: ./Dockerfile -env: - DOCKER_TAG: ${{ inputs.gcr_hostname }}/${{ inputs.project_id }}/${{ inputs.service_name }} - runs: using: 'composite' steps: @@ -50,6 +47,6 @@ runs: context: . file: ${{ inputs.dockerfile }} push: true - tags: ${{ env.DOCKER_TAG }}:${{ github.sha }} - cache-from: type=registry,ref=${{ env.DOCKER_TAG }}:buildcache - cache-to: type=registry,ref=${{ env.DOCKER_TAG }}:buildcache,mode=max + tags: ${{ inputs.gcr_hostname }}/${{ inputs.project_id }}/${{ inputs.service_name }}:${{ github.sha }} + cache-from: type=registry,ref=${{ inputs.gcr_hostname }}/${{ inputs.project_id }}/${{ inputs.service_name }}:buildcache + cache-to: type=registry,ref=${{ inputs.gcr_hostname }}/${{ inputs.project_id }}/${{ inputs.service_name }}:buildcache,mode=max