Skip to content
Snippets Groups Projects
Commit 97929137 authored by Michal Petrovič's avatar Michal Petrovič
Browse files

Update .gitlab-ci.yml file

parent c7312cb0
1 merge request!4Resolve "Vyuzitie cachce miesto artifacts pomocou tags pre runnery"
Pipeline #166547 passed with warnings with stages
in 2 minutes and 3 seconds
...@@ -50,9 +50,9 @@ docker-build-latest: ...@@ -50,9 +50,9 @@ docker-build-latest:
image: docker:git image: docker:git
tags: tags:
- cache - cache
only: #only:
refs: # refs:
- main # - main
except: except:
variables: variables:
- $CI_COMMIT_TAG - $CI_COMMIT_TAG
...@@ -97,8 +97,8 @@ docker-push-latest: ...@@ -97,8 +97,8 @@ docker-push-latest:
image: docker image: docker
tags: tags:
- cache - cache
only: #only:
- main # - main
before_script: before_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN $DOCKER_REGISTRY - docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN $DOCKER_REGISTRY
script: script:
......
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