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