diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 53b0a30..49db030 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -17,7 +17,9 @@ jobs: - uses: actions/checkout@v4 - name: Log in to registry - run: docker login -u ${{ gitea.actor }} -p ${{ secrets.GITHUB_TOKEN }} git.weaselab.dev + run: | + echo "${{ secrets.REGISTRY_TOKEN }}" \ + | docker login -u "${{ secrets.REGISTRY_USER }}" --password-stdin git.weaselab.dev - name: Build and push image if changed run: | @@ -44,8 +46,8 @@ jobs: container: image: git.weaselab.dev/weaselab/conflict-set-ci:latest-amd64 credentials: - username: ${{ gitea.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_TOKEN }} steps: - uses: actions/checkout@v4 @@ -75,8 +77,8 @@ jobs: container: image: git.weaselab.dev/weaselab/conflict-set-ci:latest-amd64 credentials: - username: ${{ gitea.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_TOKEN }} steps: - uses: actions/checkout@v4 @@ -127,8 +129,8 @@ jobs: container: image: git.weaselab.dev/weaselab/conflict-set-ci:latest-${{ matrix.arch }} credentials: - username: ${{ gitea.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_TOKEN }} steps: - uses: actions/checkout@v4 @@ -188,8 +190,8 @@ jobs: container: image: git.weaselab.dev/weaselab/conflict-set-ci:latest-amd64 credentials: - username: ${{ gitea.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_TOKEN }} steps: - uses: actions/checkout@v4