From 009d78a23e495db17310c9c7f091a999d72feb51 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Thu, 2 Jan 2025 15:40:07 +0000 Subject: [PATCH] Switch to CLI for registry login --- .gitea/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 2d840f2..5e0b483 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -20,8 +20,15 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + # - name: Log in to Gitea Package Registry + # uses: docker/login-action@v3 + # with: + # registry: ${{ vars.PACKAGES_REGISTRY_URL }} + # username: ${{ vars.PACKAGES_REGISTRY_USERNAME }} + # password: ${{ secrets.PACKAGES_REGISTRY_PASSWORD }} + - name: Log in to Gitea Package Registry - uses: docker/login-action@v3 + run: echo ${{ secrets.PACKAGES_REGISTRY_PASSWORD }} | docker login ${{ vars.PACKAGES_REGISTRY_URL }} -u ${{ vars.PACKAGES_REGISTRY_USERNAME }} --password-stdin with: registry: ${{ vars.PACKAGES_REGISTRY_URL }} username: ${{ vars.PACKAGES_REGISTRY_USERNAME }}