mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: publish to DockerHub (#1765)
* chore: publish to DockerHub * chore: remove testing code
This commit is contained in:
parent
8870f9cef0
commit
3c95f20883
1 changed files with 8 additions and 4 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -10,9 +10,6 @@ on:
|
|||
concurrency:
|
||||
group: dockerize-${{ github.ref }}
|
||||
|
||||
env:
|
||||
IMAGE: ghcr.io/logto-io/logto
|
||||
|
||||
jobs:
|
||||
dockerize:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -27,7 +24,8 @@ jobs:
|
|||
uses: docker/metadata-action@v4
|
||||
with:
|
||||
images: |
|
||||
${{ env.IMAGE }}
|
||||
ghcr.io/logto-io/logto
|
||||
svhd/logto
|
||||
# https://github.com/docker/metadata-action#typesemver
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
|
@ -38,6 +36,12 @@ jobs:
|
|||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
|
|
Loading…
Reference in a new issue