@@ -7,10 +7,6 @@ platform:
77 os : linux
88
99steps :
10- - name : install pack
11- commands :
12- - docker run --rm -v /usr/local/bin:/tmp/bin docker.io/drycc/go-dev cp /usr/local/bin/pack /tmp/bin
13-
1410- name : test
1511 commands :
1612 - STACK=20 make test-style
3026- name : publish pack
3127 commands :
3228 - echo $DOCKER_PASSWORD | docker login $DRYCC_REGISTRY --username $DOCKER_USERNAME --password-stdin
33- - STACK=20 VERSION=20-linux-amd64 make publish-pack
29+ - CODENAME=bullseye make publish-pack
3430 environment :
3531 DEV_REGISTRY :
3632 from_secret : dev_registry
@@ -55,14 +51,10 @@ platform:
5551 os : linux
5652
5753steps :
58- - name : install pack
59- commands :
60- - docker run --rm -v /usr/local/bin:/tmp/bin docker.io/drycc/go-dev cp /usr/local/bin/pack /tmp/bin
61-
6254- name : publish pack
6355 commands :
6456 - echo $DOCKER_PASSWORD | docker login $DRYCC_REGISTRY --username $DOCKER_USERNAME --password-stdin
65- - STACK=20 VERSION=20-linux-arm64 make publish-pack
57+ - CODENAME=bullseye make publish-pack
6658 environment :
6759 DEV_REGISTRY :
6860 from_secret : dev_registry
@@ -148,7 +140,14 @@ steps:
148140- name : publish amd64 buildpack
149141 commands :
150142 - echo $DOCKER_PASSWORD | docker login $DRYCC_REGISTRY --username $DOCKER_USERNAME --password-stdin
151- - STACK=20 VERSION=20-linux-amd64 make publish-buildpack
143+ - docker run --rm
144+ --env CODENAME=bullseye
145+ --env DRYCC_REGISTRY=$DRYCC_REGISTRY
146+ --entrypoint init-stack
147+ -v "$(pwd):$(pwd)"
148+ -w "$(pwd)"
149+ drycc/imagebuilder:canary
150+ install-packages make && make publish-buildpack
152151 environment :
153152 DEV_REGISTRY :
154153 from_secret : dev_registry
@@ -179,7 +178,14 @@ steps:
179178- name : publish arm64 buildpack
180179 commands :
181180 - echo $DOCKER_PASSWORD | docker login $DRYCC_REGISTRY --username $DOCKER_USERNAME --password-stdin
182- - STACK=20 VERSION=20-linux-arm64 make publish-buildpack
181+ - docker run --rm
182+ --env CODENAME=bullseye
183+ --env DRYCC_REGISTRY=$DRYCC_REGISTRY
184+ --entrypoint init-stack
185+ -v "$(pwd):$(pwd)"
186+ -w "$(pwd)"
187+ drycc/imagebuilder:canary
188+ install-packages make && make publish-buildpack
183189 environment :
184190 DEV_REGISTRY :
185191 from_secret : dev_registry
0 commit comments