diff --git a/.gitea/actions/build/action.yml b/.gitea/actions/build/action.yml index f8bdcd7..eaa69e3 100644 --- a/.gitea/actions/build/action.yml +++ b/.gitea/actions/build/action.yml @@ -21,16 +21,16 @@ runs: uses: docker/login-action@v3 with: registry: ${{ vars.INSTANCE_URL }} - username: ${{ github.actor }} + username: ${{ gitea.actor }} password: ${{ secrets.REGISTRY_ACCESS_TOKEN }} - name: Build and push image uses: docker/build-push-action@v6 with: push: true - tags: ${{ vars.INSTANCE_URL }}/tech-reborn/phoenix:${{ inputs.tag }} + tags: ${{ vars.INSTANCE_URL }}/${{ gitea.repository }}:${{ inputs.tag }} - name: Set output shell: bash run: | - echo "image_url=${{ vars.INSTANCE_URL }}/tech-reborn/phoenix:${{ inputs.tag }}" >> $GITHUB_OUTPUT + echo "image_url=${{ vars.INSTANCE_URL }}/${{ gitea.repository }}:${{ inputs.tag }}" >> $GITHUB_OUTPUT