Fix unauthorized error by using GITHUB_TOKEN instead of GITEA_TOKEN
Build and Publish Docker Image / build-and-push-image (push) Failing after 7s
Build and Publish Docker Image / build-and-push-image (push) Failing after 7s
This commit is contained in:
@@ -17,9 +17,9 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Simple login directly with docker login (ensure your runner allows HTTP if not SSL)
|
# Simple login directly with docker login
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
run: echo "${{ secrets.GITEA_TOKEN }}" | docker login ${{ env.REGISTRY }} -u "${{ gitea.actor }}" --password-stdin
|
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u "${{ gitea.actor }}" --password-stdin
|
||||||
|
|
||||||
# Build standard using docker CLI
|
# Build standard using docker CLI
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
|
|||||||
Reference in New Issue
Block a user