Skip to content

Commit 5e9feb5

Browse files
committed
chore(drone): always pull image
1 parent 22407de commit 5e9feb5

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

.drone/drone.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ platform:
99
steps:
1010
- name: test
1111
image: docker.io/drycc/go-dev
12-
pull: if-not-exists
12+
pull: always
1313
privileged: true
1414
commands:
1515
- make docker-build test
@@ -28,7 +28,7 @@ steps:
2828

2929
- name: publish
3030
image: docker.io/drycc/go-dev
31-
pull: if-not-exists
31+
pull: always
3232
privileged: true
3333
commands:
3434
- echo $DOCKER_PASSWORD | docker login --username $DOCKER_USERNAME --password-stdin
@@ -74,7 +74,7 @@ platform:
7474
steps:
7575
- name: publish
7676
image: docker.io/drycc/go-dev
77-
pull: if-not-exists
77+
pull: always
7878
privileged: true
7979
commands:
8080
- echo $DOCKER_PASSWORD | docker login --username $DOCKER_USERNAME --password-stdin
@@ -111,7 +111,7 @@ name: manifest
111111
steps:
112112
- name: generate manifest
113113
image: docker.io/library/alpine
114-
pull: if-not-exists
114+
pull: always
115115
commands:
116116
- sed -i "s/docker.io/$${DRYCC_REGISTRY}/g" .drone/manifest.tmpl
117117
environment:

rootfs/imagebuilder/install

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
#!/usr/bin/env bash
22
set -eo pipefail
33

4-
git clone --dept 1 https://github.com/buildpacks/pack -b v0.19.0 /tmp/pack
5-
cd /tmp/pack
6-
make
7-
cp /tmp/pack/out/pack /usr/local/bin
8-
chmod +x /usr/local/bin/pack
9-
rm -rf /tmp/pack
10-
114
CADDY_DOWNLOAD_URL="https://github.com/caddyserver/caddy/releases/download/v2.4.3/caddy_2.4.3_linux_$(dpkg --print-architecture).tar.gz"
125
(curl -sSL "${CADDY_DOWNLOAD_URL}" | tar -C /usr/local/bin/ --no-same-owner -xzv caddy)
136

@@ -16,4 +9,4 @@ apt-get clean all
169
rm -rf /root/*
1710
rm -rf /tmp/*
1811
rm -rf /var/cache/apt/archives/*.deb
19-
rm -rf /var/lib/apt/lists/*
12+
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)