Update deploy-image.yml to use docker/login-action and static image tagging
Build and Push Docker Image / build-and-push (push) Failing after 15s
Build and Push Docker Image / build-and-push (push) Failing after 15s
This commit is contained in:
@@ -51,11 +51,15 @@ jobs:
|
|||||||
TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
run: echo "${{ secrets.TOKEN }}" | docker login "git.mein-gateway.de" -u "thischwa" --password-stdin
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.mein-gateway.de
|
||||||
|
username: thischwa
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.image }}:${{ steps.meta.outputs.tag }}
|
tags: git.mein-gateway.de/thischwa/javadocviewerservice:develop
|
||||||
Reference in New Issue
Block a user