From a82caf568c9edce886923f9dfb1627d8f75fd59e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 26 Jun 2020 00:38:34 +0400 Subject: Added GitHub Actions Signed-off-by: Valentin Popov --- .github/workflows/docker-publish.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/docker-publish.yml (limited to '.github/workflows') 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 -- cgit v1.2.3