[skip-ci] use ci to publish docker image
This commit is contained in:
parent
fe7d3ac227
commit
2af76f8557
2 changed files with 9 additions and 1 deletions
|
@ -114,3 +114,11 @@ release:
|
||||||
--assets-link "{\"name\":\"c4k-forgejo.js\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/c4k-forgejo/-/jobs/${CI_JOB_ID}/artifacts/file/target/frontend-build/c4k-forgejo.js\"}" \
|
--assets-link "{\"name\":\"c4k-forgejo.js\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/c4k-forgejo/-/jobs/${CI_JOB_ID}/artifacts/file/target/frontend-build/c4k-forgejo.js\"}" \
|
||||||
--assets-link "{\"name\":\"c4k-forgejo.js.sha256\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/c4k-forgejo/-/jobs/${CI_JOB_ID}/artifacts/file/target/frontend-build/c4k-forgejo.js.sha256\"}" \
|
--assets-link "{\"name\":\"c4k-forgejo.js.sha256\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/c4k-forgejo/-/jobs/${CI_JOB_ID}/artifacts/file/target/frontend-build/c4k-forgejo.js.sha256\"}" \
|
||||||
--assets-link "{\"name\":\"c4k-forgejo.js.sha512\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/c4k-forgejo/-/jobs/${CI_JOB_ID}/artifacts/file/target/frontend-build/c4k-forgejo.js.sha512\"}" \
|
--assets-link "{\"name\":\"c4k-forgejo.js.sha512\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/c4k-forgejo/-/jobs/${CI_JOB_ID}/artifacts/file/target/frontend-build/c4k-forgejo.js.sha512\"}" \
|
||||||
|
|
||||||
|
forgejo-image-test-publish:
|
||||||
|
image: domaindrivenarchitecture/devops-build:latest
|
||||||
|
stage: image
|
||||||
|
rules:
|
||||||
|
- if: '$CI_COMMIT_TAG != null'
|
||||||
|
script:
|
||||||
|
- cd infrastructure/docker-federated && pyb image test publish
|
|
@ -12,7 +12,7 @@ class MyBuild(DevopsDockerBuild):
|
||||||
|
|
||||||
@init
|
@init
|
||||||
def initialize(project):
|
def initialize(project):
|
||||||
project.build_depends_on('ddadevops>=0.12.4')
|
project.build_depends_on('ddadevops>=0.15.5')
|
||||||
stage = 'prod'
|
stage = 'prod'
|
||||||
dockerhub_user = environ.get('DOCKERHUB_USER')
|
dockerhub_user = environ.get('DOCKERHUB_USER')
|
||||||
if not dockerhub_user:
|
if not dockerhub_user:
|
||||||
|
|
Loading…
Reference in a new issue