We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f81a2a commit 7ea27c7Copy full SHA for 7ea27c7
.github/workflows/gcp_build.yml
@@ -88,8 +88,9 @@ jobs:
88
- name: Build and Push Docker image
89
id: 'build-push'
90
run: |
91
-
92
IMAGE_URI="europe-west2-docker.pkg.dev/wolfram-evaluation-functions/${{ inputs.environment == 'staging' && 'evaluation-function-staging' || 'evaluation-function' }}/${{inputs.function-name}}:latest"
+ TAGGED_IMAGE="europe-west2-docker.pkg.dev/wolfram-evaluation-functions/${{ inputs.environment == 'staging' && 'evaluation-function-staging' || 'evaluation-function' }}/${{inputs.function-name}}:${{inputs.image-tag}}"
93
docker build -t "$IMAGE_URI" .
94
- docker tag "$IMAGE_URI" "${{inputs.image-tag}}"
+ docker tag "$IMAGE_URI" "$TAGGED_IMAGE"
95
docker push "$IMAGE_URI"
96
+ docker push "$TAGGED_IMAGE"
0 commit comments