From af326c0b1e7b83be6ddbb83db8de6842178e75f7 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 20 Aug 2019 11:20:21 +0200 Subject: [PATCH] adding GitHub workflows --- .github/workflows/continuous-delivery-workflow.yml | 13 +++++++++++++ .../workflows/continuous-integration-workflow.yml | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/continuous-delivery-workflow.yml create mode 100644 .github/workflows/continuous-integration-workflow.yml diff --git a/.github/workflows/continuous-delivery-workflow.yml b/.github/workflows/continuous-delivery-workflow.yml new file mode 100644 index 00000000..bc11942b --- /dev/null +++ b/.github/workflows/continuous-delivery-workflow.yml @@ -0,0 +1,13 @@ +name: Gotenberg continuous delivery +on: push +push: + branches: + - releases/* + +jobs: + publish: + name: Publish + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1 + run: make publish VERSION=$GITHUB_REF DOCKER_USER=${{ secrets.DOCKER_USER }} DOCKER_PASSWORD=${{ secrets.DOCKER_PASSWORD }} \ No newline at end of file diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml new file mode 100644 index 00000000..898b4188 --- /dev/null +++ b/.github/workflows/continuous-integration-workflow.yml @@ -0,0 +1,11 @@ +name: Gotenberg continuous integration +on: [push, pull_request] + +jobs: + tests: + name: Tests + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1 + - run: make lint + - run: make tests \ No newline at end of file