From 9e12e7e1c1cf55785054c0802cdba25b03a3a682 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Tue, 30 Jun 2026 09:37:14 +0200 Subject: [PATCH] Update `deploy-image.yml` to use `docker/login-action` and static image tagging --- .gitea/workflows/deploy-image.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy-image.yml b/.gitea/workflows/deploy-image.yml index db2a550..f40d084 100644 --- a/.gitea/workflows/deploy-image.yml +++ b/.gitea/workflows/deploy-image.yml @@ -51,11 +51,15 @@ jobs: TOKEN: ${{ secrets.REGISTRY_TOKEN }} - 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 with: context: . push: true - tags: ${{ steps.meta.outputs.image }}:${{ steps.meta.outputs.tag }} + tags: git.mein-gateway.de/thischwa/javadocviewerservice:develop \ No newline at end of file