diff --git a/.forgejo/workflows/example.yaml b/.forgejo/workflows/example.yaml index 6eae187..5be6ca5 100644 --- a/.forgejo/workflows/example.yaml +++ b/.forgejo/workflows/example.yaml @@ -8,4 +8,10 @@ jobs: container: image: git.hswro.org/fleg/actions-experiments:latest steps: + - run: git version + - run: git init + - run: git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" + - run: git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin "+${GITHUB_SHA}:${GITHUB_REF}" + - run: git checkout --force "${GITHUB_REF}" + - run: cat README.md - run: cat /etc/os-release diff --git a/Dockerfile b/Dockerfile index 4a74ebf..874b2d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM alpine:3.20 +FROM alpine:3.21 -RUN apk add --update gcc g++ make openssl-dev libc-dev ruby ruby-dev ruby-bundler ruby-json +RUN apk add --update git