aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-06-25 23:38:34 +0300
committerValentin Popov <info@valentineus.link>2020-06-25 23:38:34 +0300
commita82caf568c9edce886923f9dfb1627d8f75fd59e (patch)
tree1920833d28748cb856ee5a53380d3e5b4c04d35a /.github/workflows
parent8f92f77d5afda97e2f4c7b0a244143082f380a5c (diff)
downloaddocker-meteor-a82caf568c9edce886923f9dfb1627d8f75fd59e.tar.xz
docker-meteor-a82caf568c9edce886923f9dfb1627d8f75fd59e.zip
Added GitHub Actions
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docker-publish.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
new file mode 100644
index 0000000..b03bb4b
--- /dev/null
+++ b/.github/workflows/docker-publish.yml
@@ -0,0 +1,31 @@
+name: Docker
+
+on:
+ push:
+ branches:
+ - master
+
+env:
+ IMAGE_NAME: "valentineus/meteor"
+
+jobs:
+ push:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ include:
+ version: [
+ "1.10",
+ "1.6"
+ ]
+
+ steps:
+ - uses: docker/build-push-action@v1
+ with:
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
+ tag: ${{ matrix.include.version }}
+ repository: valentineus/meteor
+ dockerfile: "default/release/Dockerfile"
+ buildargs: "RELEASE=${{ matrix.include.version }}" \ No newline at end of file