Skip to content

Commit

Permalink
fix(ci): don't create an image for every commit
Browse files Browse the repository at this point in the history
  • Loading branch information
arcln committed Mar 10, 2020
1 parent 47dcfcd commit d7d5fe5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ build dirty docker image:
- apk add --update make git
- echo $CI_REGISTRY_PASSWORD | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
script:
- git log | head -n 1 | awk '{ print $2 }'
- echo $CI_COMMIT_SHA
- VERSION="${CI_COMMIT_SHA}" make push
- VERSION=dirty make push
except:
- tags

Expand Down

0 comments on commit d7d5fe5

Please sign in to comment.