diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14e0d773cef8f0357f78672878fb75197bf0096e..871b1c04ef293325d783867502442d2365b8cba8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ stages: test docker: stage: test - image: griefed/gitlab-ci-cd:1.0.3 + image: griefed/gitlab-ci-cd:1.0.4 services: - name: docker:dind alias: docker @@ -22,7 +22,7 @@ test docker: - docker buildx build --push --no-cache - --platform linux/amd64,linux/arm/v7,linux/arm64 + --platform linux/amd64,linux/arm64 --tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:develop" --tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:develop" . except: @@ -34,7 +34,7 @@ test docker: release: needs: ['test docker'] stage: release - image: griefed/gitlab-ci-cd:1.0.3 + image: griefed/gitlab-ci-cd:1.0.4 services: - name: docker:dind alias: docker @@ -53,7 +53,7 @@ release: build: stage: build - image: griefed/gitlab-ci-cd:1.0.3 + image: griefed/gitlab-ci-cd:1.0.4 services: - name: docker:dind alias: docker @@ -67,14 +67,13 @@ build: - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - docker buildx create --use --name grfdbuilder script: - - docker pull "$CI_REGISTRY_IMAGE:develop" - docker buildx build --push --no-cache - --platform linux/amd64,linux/arm/v7,linux/arm64 + --platform linux/amd64,linux/arm64 --tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG" --tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:latest" --tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG" --tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:latest" . only: - - tags \ No newline at end of file + - tags