aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
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