fix kaniko?
This commit is contained in:
parent
0e5cad0e23
commit
268f1b7529
1 changed files with 5 additions and 2 deletions
|
|
@ -2,8 +2,8 @@ name: kaniko
|
|||
|
||||
on: push
|
||||
jobs:
|
||||
build:
|
||||
runs-on: kaniko
|
||||
prepare:
|
||||
runs-on: catthehacker
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -13,6 +13,9 @@ jobs:
|
|||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
||||
build:
|
||||
runs-on: kaniko
|
||||
steps:
|
||||
- run: |
|
||||
mkdir -p /kaniko/.docker
|
||||
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue