Skip to content

Commit 3a8acb0

Browse files
authored
Use a better docker image (#71)
And we add another quick fix in the same PR to fix the docker build. Stripping off the "v" from the version results in a 404 during docker build.
1 parent b432405 commit 3a8acb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070

7171
push-docker:
7272
docker:
73-
- image: circleci/golang:1.14
73+
- image: circleci/buildpack-deps:stable
7474
executor:
7575
name: default
7676
steps:
@@ -86,7 +86,7 @@ jobs:
8686
echo "Pushing release $CIRCLE_TAG..."
8787
TAG="${CIRCLE_TAG//v}"
8888
fi
89-
MM_PROXY_PACKAGE=https://github.com/mattermost/mattermost-push-proxy/releases/download/$TAG/mattermost-push-proxy.tar.gz
89+
MM_PROXY_PACKAGE=https://github.com/mattermost/mattermost-push-proxy/releases/download/$CIRCLE_TAG/mattermost-push-proxy.tar.gz
9090
cd docker
9191
docker build --rm --no-cache --build-arg MM_PROXY_PACKAGE=$MM_PROXY_PACKAGE -t mattermost/mattermost-push-proxy:latest -t mattermost/mattermost-push-proxy:$TAG .
9292
echo $DOCKER_PASSWORD | docker login --username $DOCKER_USERNAME --password-stdin

0 commit comments

Comments
 (0)