Skip to content

Commit

Permalink
enable push to docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
hechi committed May 19, 2023
1 parent 97320d9 commit 3c5a6e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ jobs:
uses: docker/build-push-action@v4
with:
context: healthy-api
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/healthy-api:dev
# build healthy-ui image and push it to docker hub
- name: Build and push healthy-ui image
uses: docker/build-push-action@v4
with:
context: healthy-ui
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/healthy-ui:dev
2 changes: 2 additions & 0 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: healthy-api
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/healthy-api:${{ env.RELEASE_VERSION }}

healthy-ui:
Expand All @@ -45,6 +46,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: healthy-ui
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/healthy-ui:${{ env.RELEASE_VERSION }}

release_healthy:
Expand Down

0 comments on commit 3c5a6e2

Please sign in to comment.