diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-22 06:57:04 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-22 06:57:04 +0100 |
commit | c4f736b85d8a84dff1ae9fc22cd002ad920f7043 (patch) | |
tree | 9e0c13e7f423332a5dab25f70c9f6fd6fa6f15cd | |
parent | b7b14a0ceff247a8c7623c310b1317b7722141b7 (diff) | |
download | rpm-package-builder-c4f736b85d8a84dff1ae9fc22cd002ad920f7043.tar.gz |
use include
-rw-r--r-- | .gitlab-ci.yml | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2d6234..e3067ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,25 +1,12 @@ -# https://blog.callr.tech/building-docker-images-with-gitlab-ci-best-practices/ -# comments dropped, updated for podman builds -# this variant builds without caching - -image: registry.gitlab.com/kraxel/podman-docker-builder:latest - -stages: - - build - -before_script: - - podman login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - -Build: - stage: build - only: - - branches - script: - - > - podman build - --build-arg VCS_REF=$CI_COMMIT_SHA - --build-arg VCS_URL=$CI_PROJECT_URL - --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH - . - - podman push $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH - +#variables: +# BUILD_AARCH64: "yes" + +include: + - project: 'kraxel/podman-docker-builder' + file: 'gitlab-ci-template-multiarch.yml' + +#boot-aarch64: +# stage: build +# trigger: +# project: kraxel/ec2-init-scripts +# branch: boot-aarch64 |