diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 03ef8a1..5f223b6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -17,9 +17,12 @@ jobs: - uses: actions/checkout@v4 - name: Log in to registry + env: + REGISTRY_USER: ${{ secrets.REGISTRY_USER }} + REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} run: | - echo "${{ secrets.REGISTRY_TOKEN }}" \ - | docker login -u "${{ secrets.REGISTRY_USER }}" --password-stdin git.weaselab.dev + echo "$REGISTRY_TOKEN" \ + | docker login -u "$REGISTRY_USER" --password-stdin git.weaselab.dev - name: Build and push image if changed run: |