Skip to content

Commit

Permalink
Auto tag image
Browse files Browse the repository at this point in the history
  • Loading branch information
icarito committed Aug 3, 2018
1 parent bef32dd commit 1fcf19a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
image: gitlab/dind

variables:
VERSION: ${CI_COMMIT_REF_NAME}

before_script:
- docker info
- apt-get update && apt-get install -y --no-install-recommends make linux-image-generic

job:
script:
- make sd-image
artifacts:
paths:
- hypriotos-rpi-dirty.img.zip
- hypriotos-rpi-dirty.img.zip.sha256
- hypriotos-rpi-${VERSION}.img.zip
- hypriotos-rpi-${VERSION}.img.zip.sha256

0 comments on commit 1fcf19a

Please sign in to comment.