diff options
author | Valentin Popov <info@valentineus.link> | 2020-06-25 23:38:34 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-06-25 23:38:34 +0300 |
commit | a82caf568c9edce886923f9dfb1627d8f75fd59e (patch) | |
tree | 1920833d28748cb856ee5a53380d3e5b4c04d35a /.github/workflows | |
parent | 8f92f77d5afda97e2f4c7b0a244143082f380a5c (diff) | |
download | docker-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.yml | 31 |
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 |