ci: upgrade image before pulling packages

This commit is contained in:
Antoine Martin 2025-05-09 10:36:31 -04:00
parent a6839d4f3f
commit 7040314840
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
3 changed files with 7 additions and 3 deletions

View file

@ -19,7 +19,8 @@ jobs:
steps: steps:
- name: Environment setup - name: Environment setup
run: | run: |
doas apk add nodejs-current git patch curl net-tools doas apk upgrade -a
doas apk add nodejs git patch curl net-tools
doas hostname host.docker.internal doas hostname host.docker.internal
cd /etc/apk/keys cd /etc/apk/keys
doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key

View file

@ -19,7 +19,8 @@ jobs:
steps: steps:
- name: Environment setup - name: Environment setup
run: | run: |
doas apk add nodejs-current git patch curl net-tools doas apk upgrade -a
doas apk add nodejs git patch curl net-tools
doas hostname host.docker.internal doas hostname host.docker.internal
cd /etc/apk/keys cd /etc/apk/keys
doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key

View file

@ -14,7 +14,9 @@ jobs:
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server_url }}/${{ github.repository }} CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server_url }}/${{ github.repository }}
CI_MERGE_REQUEST_TARGET_BRANCH_NAME: ${{ github.base_ref }} CI_MERGE_REQUEST_TARGET_BRANCH_NAME: ${{ github.base_ref }}
steps: steps:
- run: doas apk add nodejs-current git - run: |
doas apk upgrade -a
doas apk add nodejs git
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 500 fetch-depth: 500