diff --git a/.gitea/actions/build/action.yml b/.gitea/actions/build/action.yml index c1bd9ec..8930aa4 100644 --- a/.gitea/actions/build/action.yml +++ b/.gitea/actions/build/action.yml @@ -22,7 +22,7 @@ runs: with: registry: ${{ vars.INSTANCE_URL }} username: ${{ gitea.actor }} - password: ${{ gitea.token }} + password: $REGISTRY_ACCESS_TOKEN - name: Build and push image uses: docker/build-push-action@v6 diff --git a/.gitea/workflows/commentDeploy.yml b/.gitea/workflows/commentDeploy.yml index 8fd916e..2e3db4e 100644 --- a/.gitea/workflows/commentDeploy.yml +++ b/.gitea/workflows/commentDeploy.yml @@ -18,6 +18,8 @@ jobs: - name: Build and push image id: docker_build uses: ./.gitea/actions/build + env: + REGISTRY_ACCESS_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }} with: tag: ${{ steps.branch_name.outputs.branch_name }}