|
|
@@ -33,20 +33,12 @@ jobs:
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
- - name: Log in to the Container registry
|
|
|
- uses: docker/login-action@v2
|
|
|
- with:
|
|
|
- registry: ghcr.io
|
|
|
- username: ${{ github.actor }}
|
|
|
- password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
-
|
|
|
- name: Extract metadata (tags, labels) for Docker
|
|
|
id: meta
|
|
|
uses: docker/metadata-action@v4
|
|
|
with:
|
|
|
images: |
|
|
|
justsong/one-api-en
|
|
|
- ghcr.io/one-api-en
|
|
|
|
|
|
- name: Build and push Docker images
|
|
|
uses: docker/build-push-action@v3
|