diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index cd55b2d..f2a8234 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -19,10 +19,12 @@ jobs: - name: Print repository name run: | echo "💡 The "${{ gitea.repository }}" repository has been cloned to the runner." - - name: Pass login information - run: | - mkdir -p $HOME/.docker - echo "${{ secrets.DOCKER_AUTH_CONFIG }}" | base64 -d > $HOME/.docker/config.json + - name: Login to container registry + uses: docker/login-action@v3 + with: + registry: git.rtj.dev + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} - name: Build Docker Image run: | cd ${{ gitea.workspace }}