update docker-image-arm64.yml

This commit is contained in:
quzard 2023-05-28 14:00:03 +08:00
parent f27c246911
commit ced38dcbbf

View File

@ -1,14 +1,10 @@
name: Publish Docker image (arm64) name: Publish Docker image (arm64)
on: on:
push:
tags:
- '*'
workflow_dispatch: workflow_dispatch:
inputs: push:
name: branches: [main]
description: 'reason'
required: false
jobs: jobs:
push_to_registries: push_to_registries:
name: Push Docker image to multiple registries name: Push Docker image to multiple registries
@ -48,7 +44,7 @@ jobs:
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: | images: |
justsong/one-api ${{ secrets.DOCKERHUB_USERNAME }}/one-api
ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}
- name: Build and push Docker images - name: Build and push Docker images