fix: apply manual token for registry authentication
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 7m56s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 7m56s
This commit is contained in:
@@ -9,13 +9,13 @@ jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# 1. Gitea에서 최신 코드 가져오기 (이건 Gitea 기본 지원이라 잘 작동합니다)
|
||||
# 1. Gitea에서 최신 코드 가져오기
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# 2. Gitea 도커 레지스트리(Packages)에 로그인 (터미널 명령어 방식)
|
||||
# 2. Gitea 도커 레지스트리 로그인 (자동 토큰 사용)
|
||||
- name: Login to Gitea Registry
|
||||
run: echo "${{ secrets.GITEA_TOKEN }}" | docker login git.savethenurse.com -u ${{ gitea.actor }} --password-stdin
|
||||
run: echo "764d096a855224986a39901dadf4985e3c702223" | docker login git.savethenurse.com -u ${{ github.actor }} --password-stdin
|
||||
|
||||
# 3. 도커 이미지 굽기
|
||||
- name: Build Docker Image
|
||||
|
||||
Reference in New Issue
Block a user