Skip to content

Commit

Permalink
do not use env var for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhouston committed Apr 11, 2024
1 parent ae28bba commit acd707c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/actions/dockerize/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit acd707c

Please sign in to comment.