Skip to content

Commit

Permalink
add: Docker Hub 镜像发布
Browse files Browse the repository at this point in the history
  • Loading branch information
QYG2297248353 committed Apr 26, 2024
1 parent 818c63c commit 2800513
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
- name: Print GitHub context
run: |
echo "repository: ${{ github.repository }}"
echo "repository_name: ${{ github.repository_name }}"
echo "actor: ${{ github.actor }}"
echo "ref_name: ${{ github.ref_name }}"
Expand Down Expand Up @@ -47,7 +46,7 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ DOCKERHUB_REPOSITORY_NAME }}:${{ github.ref_name }}
${{ secrets.DOCKERHUB_USERNAME }}/${{ DOCKERHUB_REPOSITORY_NAME }}:latest
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY_NAME }}:${{ github.ref_name }}
${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY_NAME }}:latest
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
ghcr.io/${{ github.repository }}:latest

0 comments on commit 2800513

Please sign in to comment.