ci: add credentials for private repo
Some checks failed
CI / test (push) Failing after 1s
CI / docker-build (push) Has been skipped
CI / security (push) Failing after 0s

This commit is contained in:
2025-08-31 21:13:36 +02:00
parent b970e4371e
commit e822dc2a6b

View File

@@ -9,7 +9,11 @@ on:
jobs:
test:
runs-on: ubuntu-latest
container: harbor.simonmalm.com/infra/gitea-runner:latest
container:
image: harbor.simonmalm.com/infra/gitea-runner:latest
credentials:
username: ${{ env.CONTAINER_REGISTRY_USERNAME }}
password: ${{ env.CONTAINER_REGISTRY_PASSWORD }}
defaults:
run:
shell: nu {0}
@@ -44,6 +48,11 @@ jobs:
security:
runs-on: ubuntu-latest
container:
image: harbor.simonmalm.com/infra/gitea-runner:latest
credentials:
username: ${{ env.CONTAINER_REGISTRY_USERNAME }}
password: ${{ env.CONTAINER_REGISTRY_PASSWORD }}
defaults:
run:
shell: nu {0}
@@ -81,6 +90,11 @@ jobs:
docker-build:
runs-on: ubuntu-latest
container:
image: harbor.simonmalm.com/infra/gitea-runner:latest
credentials:
username: ${{ env.CONTAINER_REGISTRY_USERNAME }}
password: ${{ env.CONTAINER_REGISTRY_PASSWORD }}
defaults:
run:
shell: nu {0}