This commit is contained in:
Christian Pauly 2020-10-04 20:01:39 +02:00
parent daf99699ea
commit 6b7d21d034

View File

@ -184,12 +184,10 @@ pages:
snap:publish-candidate: snap:publish-candidate:
stage: publish stage: publish
image: ubuntu:20.04 image: "cibuilds/snapcraft:core18"
only: only:
- main - main
script: script:
- apt-get update -qy
- apt-get install -y snapcraft curl
- snapcraft - snapcraft
- echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login - echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
- snapcraft login --with snapcraft.login - snapcraft login --with snapcraft.login
@ -203,12 +201,10 @@ snap:publish-candidate:
snap:publish: snap:publish:
stage: publish stage: publish
image: ubuntu:20.04 image: "cibuilds/snapcraft:core18"
only: only:
- tags - tags
script: script:
- apt-get update -qy
- apt-get install -y snapcraft curl
- snapcraft - snapcraft
- echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login - echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
- snapcraft login --with snapcraft.login - snapcraft login --with snapcraft.login