ci: add credentials for private repo
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user