diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 96ee237..2d840f2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -4,9 +4,8 @@ on: push: branches: - main - -env: - REGISTRY_URL: git.tainton.uk + schedule: + - cron: '@weekly' jobs: publish: @@ -24,7 +23,7 @@ jobs: - name: Log in to Gitea Package Registry uses: docker/login-action@v3 with: - registry: ${{ env.REGISTRY_URL }} + registry: ${{ vars.PACKAGES_REGISTRY_URL }} username: ${{ vars.PACKAGES_REGISTRY_USERNAME }} password: ${{ secrets.PACKAGES_REGISTRY_PASSWORD }}