Skip to content
Snippets Groups Projects
Commit d6099abc authored by Griefed's avatar Griefed :joystick:
Browse files

Update .gitlab-ci.yml file

parent ab980a39
No related branches found
No related tags found
No related merge requests found
......@@ -21,9 +21,9 @@ test docker:
script:
- docker buildx build
--push
--no-cache
--platform linux/amd64,linux/arm/v7,linux/arm64
--tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:develop"
--tag "$CI_REGISTRY_IMAGE:develop"
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:develop" .
except:
refs:
......@@ -70,9 +70,8 @@ build:
- docker pull "$CI_REGISTRY_IMAGE:develop"
- docker buildx build
--push
--no-cache
--platform linux/amd64,linux/arm/v7,linux/arm64
--cache-from "$CI_REGISTRY_IMAGE:develop"
--tag "$CI_REGISTRY_IMAGE:latest"
--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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment