Skip to content

Commit 27b22d8

Browse files
authored
ci(convert): add missing substitute var (#445)
""" cache miss because layer definition was changed error: layer needs to be rebuilt before publishing: alpine error: exit status 1 """ Signed-off-by: Ramkumar Chinchani <[email protected]>
1 parent 997b771 commit 27b22d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/convert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
TEMPDIR=$(mktemp -d)
3737
stacker convert --docker-file Dockerfile --output-file stacker.yaml --substitute-file stacker-subs.yaml
3838
stacker build -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=alpine --substitute STACKER_VOL1="$TEMPDIR"
39-
stacker publish -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=alpine --skip-tls --url docker://${REGISTRY_URL} --layer alpine --tag latest
39+
stacker publish -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=alpine --substitute STACKER_VOL1="$TEMPDIR" --skip-tls --url docker://${REGISTRY_URL} --layer alpine --tag latest
4040
rm -f stacker.yaml stacker-subs.yaml
4141
stacker clean
4242
cd $GITHUB_WORKSPACE

0 commit comments

Comments
 (0)