Move to alpine

This commit is contained in:
Antoine Martin 2024-09-09 17:33:43 -04:00
parent 197008904b
commit 469ef136f2
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -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