diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6997fea..8e3abe6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,3 +29,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WINGET_AUTH_TOKEN: ${{ secrets.WINGET_AUTH_TOKEN }} TAP_AUTH_TOKEN: ${{ secrets.TAP_AUTH_TOKEN }} + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} diff --git a/tools/snapcraft b/tools/snapcraft index a99e988..0ce3129 100755 --- a/tools/snapcraft +++ b/tools/snapcraft @@ -1,3 +1,3 @@ #!/usr/bin/env bash -docker run -v $PWD:/build -w /build snapcore/snapcraft:stable snapcraft $@ +docker run --env SNAPCRAFT_STORE_CREDENTIALS -v $PWD:/build -w /build snapcore/snapcraft:stable snapcraft $@