Add Job ID
This commit is contained in:
parent
4ac89d1133
commit
c79f5aba7f
1 changed files with 6 additions and 1 deletions
|
@ -27,9 +27,14 @@ build:
|
|||
- cargo build -r
|
||||
- echo "Compile complete."
|
||||
|
||||
after_script:
|
||||
- echo JOB_ID=&CI_JOB_ID >> job.env
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- /builds/Neshura/cloudflare-dns-updater
|
||||
reports:
|
||||
dotenv: job.env
|
||||
|
||||
rules:
|
||||
- !reference [.deploy, rules]
|
||||
|
@ -43,7 +48,7 @@ Tag Release:
|
|||
rules:
|
||||
- !reference [.deploy, rules]
|
||||
script:
|
||||
- echo "running release job"
|
||||
- echo "running Release Job, attaching Artifact from Job $JOB_ID"
|
||||
release:
|
||||
tag_name: '$CI_COMMIT_TAG'
|
||||
description: '$CI_COMMIT_TAG'
|
||||
|
|
Loading…
Reference in a new issue