aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-06-25 23:46:57 +0300
committerValentin Popov <info@valentineus.link>2020-06-25 23:46:57 +0300
commit73f6ebf35cb3bb14274c4ae08878e8eb283f1248 (patch)
tree54a7906cb02207230decffe0d8e174f9d09cdde8 /.github
parent674d305033933a51ee0a739dc8c14decd379f2a6 (diff)
downloaddocker-meteor-73f6ebf35cb3bb14274c4ae08878e8eb283f1248.tar.xz
docker-meteor-73f6ebf35cb3bb14274c4ae08878e8eb283f1248.zip
Added push latest
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker-publish.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index a5bc284..273f67a 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -9,12 +9,25 @@ env:
IMAGE_NAME: "valentineus/meteor"
jobs:
- push:
+ push-latest:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: docker/build-push-action@v1
+ with:
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
+ repository: valentineus/meteor
+ dockerfile: "latest/Dockerfile"
+
+ push-release:
runs-on: ubuntu-latest
strategy:
matrix:
- version: [1.10, 1.6]
+ version:
+ - "1.10"
+ - "1.6"
steps:
- uses: docker/build-push-action@v1
@@ -23,5 +36,5 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
tag: ${{ matrix.version }}
repository: valentineus/meteor
- dockerfile: "default/release/Dockerfile"
+ dockerfile: "release/Dockerfile"
buildargs: "RELEASE=${{ matrix.version }}" \ No newline at end of file