Simplify login step in deploy-image.yml by replacing docker/login-action with manual login command
Build and Push Docker Image / build-and-push (push) Failing after 6s
Build and Push Docker Image / build-and-push (push) Failing after 6s
This commit is contained in:
@@ -41,11 +41,7 @@ jobs:
|
||||
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ steps.meta.outputs.registry }}
|
||||
username: ${{ steps.meta.outputs.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
run: echo "${{ secrets.GITEA_TOKEN }}" | docker login "${{ steps.meta.outputs.registry }}" -u "${{ steps.meta.outputs.actor }}" --password-stdin
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
|
||||
Reference in New Issue
Block a user