diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a7247e0..4b69c98 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -26,7 +26,7 @@ jobs: uses: docker/metadata-action@v6 id: meta with: - images: ${{ gitea.server_url }}/${{ gitea.repository }} + images: ${{ github.server_url }}/${{ github.repository }} tags: | type=ref,event=tag type=sha,format=short @@ -34,9 +34,9 @@ jobs: - name: Log in to Gitea Container Registry uses: docker/login-action@v4 with: - registry: ${{ gitea.server_url }} - username: ${{ gitea.actor }} - password: ${{ secrets.GITEA_TOKEN }} + registry: ${{ github.server_url }} + username: ${{ github.actor }} + password: ${{ github.token }} - name: Build Docker image uses: docker/build-push-action@v7 @@ -45,7 +45,7 @@ jobs: load: true tags: ${{ steps.meta.outputs.tags }} build-args: - GITEA_VERSION=${{ gitea.ref_name }} + GITEA_VERSION=${{ github.ref_name }} - name: Test Docker image run: |