Commit 53fcf45b authored by Kevin Daudt's avatar Kevin Daudt 💻

docker-image: use scripts in docker-cli

parent 4ec9cd5e
...@@ -33,8 +33,9 @@ build-x86_64: ...@@ -33,8 +33,9 @@ build-x86_64:
before_script: before_script:
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD - docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script: script:
- docker tag $CI_PROJECT_NAME:latest-$ARCH alpinelinux/$CI_PROJECT_NAME:latest-$ARCH - >
- docker push alpinelinux/$CI_PROJECT_NAME:latest-$ARCH docker-push-image
$CI_PROJECT_NAME:latest-$ARCH $NAMESPACE/$CI_PROJECT_NAME:latest-$ARCH
upload-s390x: upload-s390x:
extends: .upload extends: .upload
...@@ -64,7 +65,7 @@ create-manifest: ...@@ -64,7 +65,7 @@ create-manifest:
- docker login -u $DOCKER_USER -p $DOCKER_PASSWORD - docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
script: script:
- > - >
docker manifest create --amend alpinelinux/$CI_PROJECT_NAME:latest docker-push-manifest alpinelinux/$CI_PROJECT_NAME:latest
alpinelinux/$CI_PROJECT_NAME:latest-s390x alpinelinux/$CI_PROJECT_NAME:latest-
alpinelinux/$CI_PROJECT_NAME:latest-x86_64 s390x
- docker manifest push --purge alpinelinux/$CI_PROJECT_NAME:latest x86_64
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment