Remove Vault integration from CI
@@ -128,21 +128,11 @@ build:
GIT_STRATEGY: none
DOCKERFILE: Dockerfile.vendor.cachepot-dist
IMAGE_NAME: docker.io/paritytech/cachepot-dist
- VAULT_SERVER_URL: "https://vault.parity-mgmt-vault.parity.io"
- VAULT_AUTH_PATH: "gitlab-parity-io-jwt"
- VAULT_AUTH_ROLE: "cicd_gitlab_parity_cachepot"
- secrets:
- DOCKER_HUB_USER:
- vault: cicd/gitlab/parity/DOCKER_HUB_USER@kv
- file: false
- DOCKER_HUB_PASS:
- vault: cicd/gitlab/parity/DOCKER_HUB_PASS@kv
- file: false
before_script:
- cd ./artifacts/cachepot/
- VERSION=${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}
script:
- - test "$DOCKER_HUB_USER" -a "$DOCKER_HUB_PASS" ||
+ - test "$Docker_Hub_User_Parity" -a "$Docker_Hub_Pass_Parity" ||
( echo "no docker credentials provided"; exit 1 )
- buildah bud
--format=docker
@@ -151,8 +141,8 @@ build:
--tag "$IMAGE_NAME:$VERSION"
--tag "$IMAGE_NAME:latest"
--file "$DOCKERFILE" .
- - echo "$DOCKER_HUB_PASS" |
- buildah login --username "$DOCKER_HUB_USER" --password-stdin docker.io
+ - echo "$Docker_Hub_Pass_Parity" |
+ buildah login --username "$Docker_Hub_User_Parity" --password-stdin docker.io
- buildah info
- buildah push --format=v2s2 "$IMAGE_NAME:$VERSION"
after_script:
