diff --git a/.forgejo/workflows/mirror-repository.yml b/.forgejo/workflows/mirror-repository.yml index 983d87c895..734cf85159 100644 --- a/.forgejo/workflows/mirror-repository.yml +++ b/.forgejo/workflows/mirror-repository.yml @@ -9,7 +9,7 @@ jobs: name: Pull from upstream runs-on: x86_64 container: - image: 'docker.io/node:20-bookworm' + image: alpine:latest env: upstream: https://git.joeyh.name/git/git-annex.git destination: ${{ github.server_url }}/${{ github.repository }} @@ -17,6 +17,8 @@ jobs: token: ${{ secrets.CODE_FORGEJO_TOKEN }} owner: ${{ vars.OWNER }} steps: + - name: Environment setup + run: apk add grep git sed coreutils bash - name: Comparing tags of upstream and destination run: | git ls-remote $upstream "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' > upstream_tags