Added GitHub Actions

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-06-26 00:38:34 +04:00
parent 8f92f77d5a
commit a82caf568c

31
.github/workflows/docker-publish.yml vendored Normal file
View File

@ -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 }}"