From be272c4fd3f0e0ba181f3598b0dca62ee25b58fb Mon Sep 17 00:00:00 2001 From: Mike Smith <89040888+smiggiddy@users.noreply.github.com> Date: Mon, 21 Oct 2024 13:20:17 -0400 Subject: [PATCH] fix: --- .gitea/workflows/pipeline.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 58cb12c..c075668 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -14,10 +14,14 @@ jobs: uses: actions/checkout@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Log in to Gitea Container Registry - run: echo "${{ secrets.GITEA_PASSWORD }}" | docker login ${{ secrets.GITEA_REGISTRY }} -u ${{ secrets.GITEA_USERNAME }} --password-stdin + uses: docker/login-action@v1 + with: + password: ${{ secrets.GITEA_PASSWORD }} + username: ${{ secrets.GITEA_USERNAME }} + registry: ${{ secrets.GITEA_REGISTRY }} - name: Build and push Docker image uses: docker/build-push-action@v2 @@ -26,5 +30,3 @@ jobs: push: true tags: ${{ secrets.GITEA_REGISTRY }}/smig/dotechbro-website:latest - - name: Log out from Gitea Container Registry - run: docker logout ${{ secrets.GITEA_REGISTRY }}