diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index 7cb93f9..23cf0ab 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -73,15 +73,15 @@ jobs: uses: docker/login-action@v2 with: registry: ${{ steps.registry.outputs.registry }} - username: deon + username: ${{ gitea.actor }} password: ${{ secrets.PKG_WRITE_TOKEN }} - #- name: Build and push Docker image - # uses: docker/build-push-action@v5 + - name: Build and push Docker image + uses: docker/build-push-action@v5 # env: # GIT_AUTH_TOKEN: ${{ secrets.PKG_WRITE_TOKEN }} - # with: - # context: . - # file: ./Dockerfile - # push: true - # tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}" + with: + context: . + file: ./Dockerfile + push: true + tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}"