Secrets test 11
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jacob Kiers 2022-08-10 22:37:11 +00:00
parent f2a1245388
commit b756f12573

View File

@ -13,15 +13,16 @@ steps:
path: /var/run path: /var/run
commands: commands:
- cargo check - cargo check
- echo 'echo $DOCKER_REGISTRY > reg' > do.sh && sh ./do.sh - echo "docker login --username \$DOCKER_USERNAME --password \$DOCKER_PASSWORD \$DOCKER_REGISTRY" > login.sh && sh ./login.sh
- echo ${CARGO_HOME} - echo ${CARGO_HOME}
- ls -lah && rev reg - ls -lah && rev reg
- set - set
# - apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release - apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release
# - mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg - mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list
# - apt-get update && apt-get install -y docker-ce-cli - apt-get update && apt-get install -y docker-ce-cli
# - docker info - docker info
- docker login $(cat rer)
# - cargo install cross --git https://github.com/cross-rs/cross # - cargo install cross --git https://github.com/cross-rs/cross
# - cross build --release --target aarch64-unknown-linux-gnu # - cross build --release --target aarch64-unknown-linux-gnu
# - ls -lahR target/ # - ls -lahR target/
@ -29,8 +30,10 @@ steps:
CROSS_REMOTE: true CROSS_REMOTE: true
DOCKER_REGISTRY: DOCKER_REGISTRY:
from_secret: docker-registry-url from_secret: docker-registry-url
DOCKER_REGISTRY_2: DOCKER_USERNAME:
from_secret: i_do_not_exist from_secret: docker-registry-username
DOCKER_PASSWORD:
from_secret: docker-registry-password
services: services:
- name: docker - name: docker