fix: user pass

This commit is contained in:
Jason Song 2023-04-27 11:45:07 +08:00
parent e4ebc5caf1
commit 6407bd70ec
No known key found for this signature in database
GPG key ID: 8402EEEE4511A8B5

View file

@ -11,7 +11,7 @@ jobs:
container:
image: catthehacker/ubuntu:act-latest
env:
DOCKER_USERNAME: gitea
DOCKER_ORG: gitea
steps:
- name: Checkout
uses: actions/checkout@v3
@ -25,8 +25,8 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Get Meta
id: meta
@ -44,5 +44,5 @@ jobs:
linux/arm64
push: true
tags: |
${{ env.DOCKER_USERNAME }}/${{ steps.meta.outputs.REPO_NAME }}:latest
${{ env.DOCKER_USERNAME }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:latest
${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}