Skip to content

Commit

Permalink
deployment stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
sudorandom committed Aug 25, 2024
1 parent 7abd145 commit d518a1f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand All @@ -35,14 +41,8 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Push
run: |
docker push --all-tags sudorandom/fauxrpc:latest
docker push --all-tags sudorandom/fauxrpc:latest
# - name: Push
# run: |
# docker push --all-tags sudorandom/fauxrpc:latest
# docker push --all-tags sudorandom/fauxrpc:latest

0 comments on commit d518a1f

Please sign in to comment.