Skip to content

Commit

Permalink
feat: sync docker images to dockerhub and ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousm4x committed Sep 3, 2024
1 parent 0bd16b8 commit 2d44d96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
with:
images: |
ghcr.io/seriousm4x/UpSnap
seriousm4x/UpSnap
tags: |
type=ref,event=tag
type=semver,pattern={{version}}
Expand All @@ -107,6 +108,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

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

# build and push
- name: Build and push
id: docker_build
Expand Down

0 comments on commit 2d44d96

Please sign in to comment.