diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c1e4c6bb2..3f3f8936b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -176,6 +176,7 @@ build-windows-msvc-x86_64: package-linux-snap-amd64: &package_snap stage: package only: *releaseable_branches + image: parity/snapcraft:gitlab-ci cache: {} before_script: *determine_version variables: @@ -218,7 +219,7 @@ package-linux-snap-armhf: publish-linux-snap-amd64: &publish_snap stage: publish only: *publishable_branches - image: snapcore/snapcraft:stable + image: parity/snapcraft:gitlab-ci cache: {} before_script: *determine_version variables: diff --git a/scripts/gitlab/package-snap.sh b/scripts/gitlab/package-snap.sh index 30c7f71b1..1dbb77d79 100755 --- a/scripts/gitlab/package-snap.sh +++ b/scripts/gitlab/package-snap.sh @@ -11,7 +11,6 @@ esac SNAP_PACKAGE="parity_"$VERSION"_"$BUILD_ARCH".snap" echo "__________Create snap package__________" echo "Release channel :" $GRADE " Branch/tag: " $CI_COMMIT_REF_NAME -snapcraft clean echo $VERSION:$GRADE:$BUILD_ARCH cat scripts/gitlab/templates/snapcraft.template.yaml | envsubst '$VERSION:$GRADE:$BUILD_ARCH:$CARGO_TARGET' > snapcraft.yaml cat snapcraft.yaml