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:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
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:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: nu {0}
|
shell: nu {0}
|
||||||
@@ -44,6 +48,11 @@ jobs:
|
|||||||
|
|
||||||
security:
|
security:
|
||||||
runs-on: ubuntu-latest
|
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:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: nu {0}
|
shell: nu {0}
|
||||||
@@ -81,6 +90,11 @@ jobs:
|
|||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
runs-on: ubuntu-latest
|
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:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: nu {0}
|
shell: nu {0}
|
||||||
|
|||||||
Reference in New Issue
Block a user