Skip to content

Commit

Permalink
ISSUE-11: Auto deploy latest docker image (CodingGarden#29)
Browse files Browse the repository at this point in the history
Publish Docker image
  • Loading branch information
nmigueles authored Jul 12, 2020
1 parent ef9ddc9 commit 488c0c3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 488c0c3

Please sign in to comment.