Skip to content

Commit

Permalink
Merge pull request #314 from gatewayd-io/publish-to-docker-hub
Browse files Browse the repository at this point in the history
Publish image to Docker Hub
  • Loading branch information
mostafa authored Sep 6, 2023
2 parents 24f0121 + 502727b commit ed900d2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ jobs:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
generate_release_notes: true
- name: Login to GitHub Container Registry
- name: Sign in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Sign in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
Expand All @@ -56,6 +61,8 @@ jobs:
context: .
push: true
tags: |
gatewaydio/gatewayd:${{ github.ref_name }}
gatewaydio/gatewayd:latest
ghcr.io/gatewayd-io/gatewayd:${{ github.ref_name }}
ghcr.io/gatewayd-io/gatewayd:latest
platforms: linux/amd64

0 comments on commit ed900d2

Please sign in to comment.