Skip to content

Commit

Permalink
Publish image to Docker Hub as well as ghcr.io
Browse files Browse the repository at this point in the history
mostafa committed Sep 6, 2023
1 parent 24f0121 commit 502727b
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
@@ -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
@@ -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 502727b

Please sign in to comment.