mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
Merge pull request #99 from jesseduffield/ci-snap-2
login to snapcraft when releasing
This commit is contained in:
commit
3087f86b2d
1 changed files with 9 additions and 0 deletions
|
|
@ -46,6 +46,15 @@ jobs:
|
||||||
name: Install snapcraft
|
name: Install snapcraft
|
||||||
command: |
|
command: |
|
||||||
./.circleci/install_snapcraft.sh
|
./.circleci/install_snapcraft.sh
|
||||||
|
- run:
|
||||||
|
name: Login to snapcraft
|
||||||
|
# if you ever lose this, you can recreate it via
|
||||||
|
# `snapcraft export-login snapcraft.login && base64 snapcraft.login` and then chuck that
|
||||||
|
# in circle ci as the SNAPCRAFT_LOGIN_FILE env variable
|
||||||
|
# You'll need your ubuntu one password
|
||||||
|
command: |
|
||||||
|
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
|
||||||
|
snapcraft login --with snapcraft.login
|
||||||
- run:
|
- run:
|
||||||
name: Run gorelease
|
name: Run gorelease
|
||||||
command: |
|
command: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue