ADD: new approach
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
4244bd2647
commit
fff60b5620
@ -23,8 +23,10 @@ steps:
|
||||
commands:
|
||||
- scripts/setupEnvironment.sh
|
||||
- export TEA_URL=`curl -L https://gitea.com/gitea/tea/releases/latest | grep -e "tea.*linux-amd64\"" | cut -d '"' -f 6`
|
||||
- sed 's/ARG.TEA_URL.*/ARG \"${TEA_URL}/\"' -i Dockerfile
|
||||
- cp /etc/ssl/certs2/federationHQ-CA.pem .
|
||||
- buildah bud --build-arg ORG_CA_FILE=federationHQ-CA.pem --build-arg TEA_URL=${TEA_URL} --network host -t "registry.cloud.federationhq.de/tea:latest-amd64" --arch amd64 .
|
||||
- sed 's/ARG.ORG_CA_FILE/ARG \/etc\/ssl\/certs2\/federationHQ-CA\.pem/' -i Dockerfile
|
||||
- buildah bud --network host -t "registry.cloud.federationhq.de/tea:latest-amd64" --arch amd64 .
|
||||
- buildah push --all registry.cloud.federationhq.de/tea:latest-amd64
|
||||
---
|
||||
kind: pipeline
|
||||
@ -52,10 +54,13 @@ steps:
|
||||
commands:
|
||||
- scripts/setupEnvironment.sh
|
||||
- export TEA_URL=`curl -L https://gitea.com/gitea/tea/releases/latest | grep -e "tea.*linux-arm64\"" | cut -d '"' -f 6`
|
||||
- sed 's/ARG.TEA_URL.*/ARG \"${TEA_URL}/\"' -i Dockerfile
|
||||
- cp /etc/ssl/certs2/federationHQ-CA.pem .
|
||||
- buildah bud --build-arg ORG_CA_FILE=federationHQ-CA.pem --build-arg TEA_URL=${TEA_URL} --network host -t "registry.cloud.federationhq.de/tea:latest-arm64" --arch arm64 .
|
||||
- sed 's/ARG.ORG_CA_FILE/ARG \/etc\/ssl\/certs2\/federationHQ-CA\.pem/' -i Dockerfile
|
||||
- buildah bud --network host -t "registry.cloud.federationhq.de/tea:latest-arm64" --arch arm64 .
|
||||
- buildah push --all registry.cloud.federationhq.de/tea:latest-arm64
|
||||
---
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: push
|
||||
|
@ -1,4 +1,6 @@
|
||||
FROM alpine:latest
|
||||
ARG TEA_URL="https://gitea.com/gitea/t0ea/releases/download/v0.9.2/tea-0.9.2-linux-amd64"
|
||||
ARG ORG_CA_FILE="/etc/ssl/certs2/federationHQ-CA.pem"
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
ADD ${ORG_CA_FILE} /usr/local/share/ca-certificates
|
||||
|
Loading…
Reference in New Issue
Block a user