Skip to content

Commit

Permalink
Changed the automation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanpereira committed Feb 13, 2022
1 parent 2eae05c commit 8450b9b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=arm64 rockylinux/rockylinux:8
FROM --platform=arm64 rockylinux:8

# Some ENV variables
ENV PATH="/opt/mattermost/bin:${PATH}"
Expand Down
8 changes: 8 additions & 0 deletions create_docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

MM_VERSION="v$(lastversion https://github.com/SmartHoneybee/ubiquitous-memory/)"

docker login -u="${RD_OPTION_DOCKER_USERNAME}" -p="${RD_OPTION_DOCKER_PASSWORD}"
docker build --build-arg MM_VERSION="${MM_VERSION}" -t ${RD_OPTION_DOCKER_USERNAME}/mattermost:latest -t ${RD_OPTION_DOCKER_USERNAME}/mattermost:${MM_VERSION} .
docker push ${RD_OPTION_DOCKER_USERNAME}/mattermost:latest
docker push ${RD_OPTION_DOCKER_USERNAME}/mattermost:${MM_VERSION}

0 comments on commit 8450b9b

Please sign in to comment.