Added GitHub Actions
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
8f92f77d5a
commit
a82caf568c
31
.github/workflows/docker-publish.yml
vendored
Normal file
31
.github/workflows/docker-publish.yml
vendored
Normal 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 }}"
|
Loading…
x
Reference in New Issue
Block a user