Add credentials to upstream source
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
86cb879ff6
commit
6810eb0cfa
17
.drone.yml
17
.drone.yml
@ -15,6 +15,14 @@ steps:
|
||||
from_secret: harbor_username
|
||||
password:
|
||||
from_secret: harbor_password
|
||||
build_args_from_env:
|
||||
- REPO_USERNAME
|
||||
- REPO_PASSWORD
|
||||
environment:
|
||||
REPO_USERNAME:
|
||||
from_secret: repo_username
|
||||
REPO_PASSWORD:
|
||||
from_secret: repo_password
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@ -33,4 +41,11 @@ steps:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
build_args_from_env:
|
||||
- REPO_USERNAME
|
||||
- REPO_PASSWORD
|
||||
environment:
|
||||
REPO_USERNAME:
|
||||
from_secret: repo_username
|
||||
REPO_PASSWORD:
|
||||
from_secret: repo_password
|
||||
|
@ -6,7 +6,9 @@ FROM alpine:latest AS download
|
||||
ENV OVFTOOL_VERSION=4.4.1-16812187
|
||||
ENV OVFTOOL_INSTALLER=VMware-ovftool-${OVFTOOL_VERSION}-lin.x86_64.bundle
|
||||
ENV OVFTOOL_SHA256=ecdb3dcb58494d643d35661dcda948025661ec12ce615f043e1ec5d4c85de2ce
|
||||
ADD https://sn.itch.fyi/Repository/bin/VMware/ovftool/4.4.x/${OVFTOOL_INSTALLER} /tmp/ovftool-installer
|
||||
ARG REPO_USERNAME
|
||||
ARG REPO_PASSWORD
|
||||
ADD https://${REPO_USERNAME}:${REPO_PASSWORD}@sn.itch.fyi/Repository/bin/VMware/ovftool/4.4.x/${OVFTOOL_INSTALLER} /tmp/ovftool-installer
|
||||
|
||||
RUN apk --update add --no-cache \
|
||||
curl \
|
||||
|
Loading…
Reference in New Issue
Block a user