refactor: switch to using docker/login-action for container registry authentication
All checks were successful
Build and Push Docker Images / build-and-push (push) Successful in 1m54s
All checks were successful
Build and Push Docker Images / build-and-push (push) Successful in 1m54s
This commit is contained in:
@@ -21,8 +21,12 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Login to Gitea Registry
|
- name: Log in to the Container registry
|
||||||
run: echo ${{ secrets.ACCESS_TOKEN }} | docker login git.almazlar.com -u ${{ gitea.actor }} --password-stdin
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ${{ env.REGISTRY }}
|
||||||
|
username: ${{ gitea.actor }}
|
||||||
|
password: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Backend
|
- name: Extract metadata (tags, labels) for Backend
|
||||||
id: meta-backend
|
id: meta-backend
|
||||||
|
|||||||
Reference in New Issue
Block a user