diff --git a/.forgejo/workflows/package-check.yml b/.forgejo/workflows/package-check.yml index 980e4fd..0dd22a1 100644 --- a/.forgejo/workflows/package-check.yml +++ b/.forgejo/workflows/package-check.yml @@ -5,18 +5,18 @@ on: schedule: - cron: '12 */3 * * *' -env: - PACKAGE: rsync - DOCKER_REGISTRY: git.shork.ch - REGISTRY_USER: melody - COMMIT_AUTHOR_NAME: "forgejo-runner" - COMMIT_AUTHOR_EMAIL: "forgejo-runner@shork.ch" - COMMIT_MESSAGE: "Update build metadata" - jobs: build: runs-on: dind + env: + PACKAGE: rsync + DOCKER_REGISTRY: git.shork.ch + REGISTRY_USER: melody + COMMIT_AUTHOR_NAME: "forgejo-runner" + COMMIT_AUTHOR_EMAIL: "forgejo-runner@shork.ch" + COMMIT_MESSAGE: "Update build metadata" + steps: - name: Install dependencies shell: sh @@ -29,13 +29,11 @@ jobs: apk upgrade --no-cache -a apk add --no-cache git nodejs npm bash sed $PACKAGE - - uses: actions/checkout@v3 - name: Get latest package version id: check run: | - main_version=$(curl -s https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz \ | tar -xzO \ | grep -a 'cmd:rsync=' | sed 's/.*cmd:rsync=//' | sort -V | tail -n 1)