fix: CI
This commit is contained in:
parent
daf99699ea
commit
6b7d21d034
|
@ -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…
Reference in a new issue