chore: update dev-ci action

This commit is contained in:
steven
2023-04-14 11:47:20 +08:00
parent ca23d78c8b
commit a0003dc571

View File

@ -16,12 +16,11 @@ jobs:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Login to GitHub Container Registry - name: Login to DockerHub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: ghcr.io username: ${{ secrets.DOCKERHUB_USERNAME }}
username: ${{ github.actor }} password: ${{ secrets.DOCKERHUB_TOKEN }}
password: ${{ github.token }}
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
@ -35,11 +34,11 @@ jobs:
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: | images: |
ghcr.io/sqlchat/sqlchat sqlchat/sqlchat
flavor: | flavor: |
latest=false latest=false
tags: | tags: |
type=raw,value=dev type=raw,value=dev-ci
- name: Build and Push - name: Build and Push
id: docker_build id: docker_build