Skip to content
Snippets Groups Projects
Commit e515c1d1 authored by Marvin Weiler's avatar Marvin Weiler
Browse files

Update .gitlab-ci.yml file

parent 76c6d10a
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ binary:
- build:x86_64linux
image: curlimages/curl:latest
script:
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ./target/release/amd-scrapper "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/my_package/${$CI_COMMIT_TAG}/amd-scrapper"'
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ./target/x86_64-unknown-linux-gnu/release/amd-scrapper "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/my_package/${$CI_COMMIT_TAG}/amd-scrapper"'
container:
rules:
......@@ -35,6 +35,7 @@ container:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- cp ./target/x86_64-unknown-linux-gnu/release/amd-scrapper ./target/release/amd-scrapper
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"auth\":\"$(printf "%s:%s" "${CI_REGISTRY_USER}" "${CI_REGISTRY_PASSWORD}" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
- >-
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment