onboarding
Christian Pauly 5 years ago
parent 0750edf659
commit 14eddf1d86

@ -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

Loading…
Cancel
Save