diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 74e0e57..dd9afef 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -59,8 +59,8 @@ jobs: uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: git.farh.net - username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + username: gitea-admin + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push worker image uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 @@ -91,8 +91,8 @@ jobs: uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: git.farh.net - username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + username: gitea-admin + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push API image uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 diff --git a/.gitea/workflows/helm-release.yml b/.gitea/workflows/helm-release.yml index e022893..e1a3f7a 100644 --- a/.gitea/workflows/helm-release.yml +++ b/.gitea/workflows/helm-release.yml @@ -31,8 +31,8 @@ jobs: - name: Log in to Gitea OCI registry run: | - echo "${{ secrets.GITEA_TOKEN }}" | helm registry login git.farh.net \ - --username "${{ github.actor }}" \ + echo "${{ secrets.REGISTRY_TOKEN }}" | helm registry login git.farh.net \ + --username gitea-admin \ --password-stdin - name: Push chart to Gitea OCI registry diff --git a/.gitea/workflows/release-beta.yml b/.gitea/workflows/release-beta.yml index 9bbd5e2..08df39a 100644 --- a/.gitea/workflows/release-beta.yml +++ b/.gitea/workflows/release-beta.yml @@ -62,8 +62,8 @@ jobs: uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: git.farh.net - username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + username: gitea-admin + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push worker image uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 @@ -93,8 +93,8 @@ jobs: uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: git.farh.net - username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + username: gitea-admin + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push API image uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 @@ -125,8 +125,8 @@ jobs: uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: git.farh.net - username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + username: gitea-admin + password: ${{ secrets.REGISTRY_TOKEN }} - name: Inspect worker image id: inspect-worker diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 18ac2a0..9656246 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -77,8 +77,8 @@ jobs: uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: git.farh.net - username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + username: gitea-admin + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push worker image uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 @@ -111,8 +111,8 @@ jobs: uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: git.farh.net - username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + username: gitea-admin + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push API image uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 @@ -145,8 +145,8 @@ jobs: uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: git.farh.net - username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + username: gitea-admin + password: ${{ secrets.REGISTRY_TOKEN }} - name: Inspect worker image id: inspect-worker diff --git a/.gitea/workflows/rollback.yml b/.gitea/workflows/rollback.yml index c4c34bd..c72e098 100644 --- a/.gitea/workflows/rollback.yml +++ b/.gitea/workflows/rollback.yml @@ -78,8 +78,8 @@ jobs: uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: git.farh.net - username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + username: gitea-admin + password: ${{ secrets.REGISTRY_TOKEN }} - name: Verify Docker image tag exists run: docker buildx imagetools inspect "git.farh.net/farhoodlabs/trebuchet:${{ steps.target.outputs.version }}"