Skip to content

Commit

Permalink
Update docker-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
docjyJ authored Jun 13, 2024
1 parent 257e3f1 commit f551efd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
images: |
${{ github.repository }}
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=develop
type=raw,value=beta
Expand All @@ -43,6 +45,12 @@ jobs:
type=semver,pattern=v{{major}}
type=sha
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Log in to the GitHub Container Registry
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit f551efd

Please sign in to comment.