We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to use the envTemplate tag strategy, but it doesn't work as expected because DIGEST is in the form sha265::
''' tagPolicy: envTemplate: template: "{{.IMAGE_REG}}/{{.IMAGE_REG_NS}}/{{.IMAGE_NAME}}:{{.MY_DIGEST}}" '''
The image tag is my-registry.me/my-namespace/my-image:<digest>.
my-registry.me/my-namespace/my-image:<digest>
The image tag is my-registry.me/my-namespace/my-image:sha256:<digest>, which is not valid.
my-registry.me/my-namespace/my-image:sha256:<digest>
Skaffold version:0.4.0 Operating system: MacOS Content of skaffold.yaml: apiVersion: skaffold/v1alpha2 kind: Config build: artifacts: - imageName: my-image docker: dockerfilePath: image1/Dockerfile - imageName: my-other-image docker: dockerfilePath: image2/Dockerfile tagPolicy: envTemplate: template: "{{.IMAGE_REG}}/{{.IMAGE_REG_NS}}/{{.IMAGE_NAME}}:{{.MY_DIGEST}}" deploy: helm: releases: - name: development chartPath: my-chart valuesFilePath: skaffold/helm-values.yaml values: image1: my-image image2: my-other-image namespace: default
The text was updated successfully, but these errors were encountered:
Fix DIGEST support in envTemplate
c7629ce
Fixes GoogleContainerTools#481
b6987a6
skaffold run
skaffold dev
alternative fix for GoogleContainerTools#481
41f2f06
which uses 2 separate environment variables adds a test to show it working #fixes 481
1ff3e41
Merge pull request #495 from jstrachan/481-2
f161f18
alternative fix for #481
Fixed with #495
Sorry, something went wrong.
dgageot
No branches or pull requests
I try to use the envTemplate tag strategy, but it doesn't work as expected because DIGEST is in the form sha265::
'''
tagPolicy:
envTemplate:
template: "{{.IMAGE_REG}}/{{.IMAGE_REG_NS}}/{{.IMAGE_NAME}}:{{.MY_DIGEST}}"
'''
Expected behavior
The image tag is
my-registry.me/my-namespace/my-image:<digest>
.Actual behavior
The image tag is
my-registry.me/my-namespace/my-image:sha256:<digest>
, which is not valid.Information
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: