File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ platform:
99steps :
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
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:
7474steps :
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
111111steps :
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 :
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -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-
114CADDY_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
169rm -rf /root/*
1710rm -rf /tmp/*
1811rm -rf /var/cache/apt/archives/* .deb
19- rm -rf /var/lib/apt/lists/*
12+ rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments