From 488c0c3ede10ee4acb56ac7451cd774aea9141b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Migueles?= <35758739+NicoMigueles@users.noreply.github.com> Date: Sat, 11 Jul 2020 21:39:45 -0300 Subject: [PATCH] ISSUE-11: Auto deploy latest docker image (#29) Publish Docker image --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e566f41 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: Publish Docker image +on: + push: + branches: + - master + release: + types: [published] +jobs: + push_to_registry: + name: Push Docker image to GitHub Packages + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v2 + - name: Push to GitHub Packages + uses: docker/build-push-action@v1 + with: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + path: server/. + registry: docker.pkg.github.com + repository: codinggarden/entropychat.app/entropychat.api + tag_with_ref: true