Skip to content

Commit c436597

Browse files
committed
chore(pack-images): change buildpacks default version
1 parent f296c22 commit c436597

10 files changed

Lines changed: 34 additions & 28 deletions

File tree

.drone/drone.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ platform:
77
os: linux
88

99
steps:
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
@@ -30,7 +26,7 @@ steps:
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

5753
steps:
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

.drone/manifest-build.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
image: docker.io/drycc/pack:20-build
1+
image: docker.io/drycc/pack:bullseye-build
22
manifests:
33
-
4-
image: docker.io/drycc/pack:20-linux-amd64-build
4+
image: docker.io/drycc/pack:bullseye-linux-amd64-build
55
platform:
66
architecture: amd64
77
os: linux
88
-
9-
image: docker.io/drycc/pack:20-linux-arm64-build
9+
image: docker.io/drycc/pack:bullseye-linux-arm64-build
1010
platform:
1111
architecture: arm64
1212
os: linux

.drone/manifest-buildpacks.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
image: docker.io/drycc/buildpacks:20
1+
image: docker.io/drycc/buildpacks:bullseye
22
manifests:
33
-
4-
image: docker.io/drycc/buildpacks:20-linux-amd64
4+
image: docker.io/drycc/buildpacks:bullseye-linux-amd64
55
platform:
66
architecture: amd64
77
os: linux
88
-
9-
image: docker.io/drycc/buildpacks:20-linux-arm64
9+
image: docker.io/drycc/buildpacks:bullseye-linux-arm64
1010
platform:
1111
architecture: arm64
1212
os: linux

.drone/manifest-run.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
image: docker.io/drycc/pack:20
1+
image: docker.io/drycc/pack:bullseye
22
manifests:
33
-
4-
image: docker.io/drycc/pack:20-linux-amd64
4+
image: docker.io/drycc/pack:bullseye-linux-amd64
55
platform:
66
architecture: amd64
77
os: linux
88
-
9-
image: docker.io/drycc/pack:20-linux-arm64
9+
image: docker.io/drycc/pack:bullseye-linux-arm64
1010
platform:
1111
architecture: arm64
1212
os: linux

buildpacks/java/bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
version=8
13+
version=17
1414
if [[ -f .java-version ]]; then
1515
version=$(tr <.java-version -d '[:space:]')
1616
fi

buildpacks/node/bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
version=16.14.0
13+
version=16
1414
if [[ -f .node-version ]]; then
1515
version=$(tr <.node-version -d '[:space:] | node-')
1616
fi

buildpacks/php/bin/detect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
php_version=8.1.3
13+
php_version=8.1
1414
if [[ -f .php-version ]]; then
1515
php_version=$(tr <.php-version -d '[:space:]')
1616
fi
1717

18-
nginx_version=1.18.0
18+
nginx_version=1.21.6
1919
if [[ -f .nginx-version ]]; then
2020
nginx_version=$(tr <.nginx-version -d '[:space:]')
2121
fi

buildpacks/python/bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
version=3.10.2
13+
version=3.10
1414
if [[ -f .python-version ]]; then
1515
version=$(tr <.python-version -d '[:space:] | python-')
1616
fi

buildpacks/ruby/bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
version=3.1.1
13+
version=3.1
1414
if [[ -f .ruby-version ]]; then
1515
version=$(tr <.ruby-version -d '[:space:]')
1616
fi

buildpacks/rust/bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
version="1.58.1"
13+
version="1"
1414
if [[ -f .rust-version ]]; then
1515
version=$(tr <.rust-version -d '[:space:]')
1616
fi

0 commit comments

Comments
 (0)