trying to fix ci/cd
This commit is contained in:
parent
d0d7c3077e
commit
cd1ec232e7
1 changed files with 8 additions and 3 deletions
|
|
@ -10,7 +10,12 @@ jobs:
|
|||
build:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: gcr.io/kaniko-project/executor:debug
|
||||
image: node:24
|
||||
steps:
|
||||
- run: 'echo { \"auths\": { \"git.ncamgnrvngu.eu\": { \"auth\": \"$(echo -n ncamgnrvngu:${{ secrets.DOCKER_TOKEN }} | base64)\" } } } > /kaniko/.docker/config.json'
|
||||
- run: '/kaniko/executor --context "git://${{ github.token }}@git.ncamgnrvngu.eu/NcamGnrvngu/website.git#${{ github.ref }}" --dockerfile "Dockerfile" --destination "git.ncamgnrvngu.eu/ncamgnrvngu/website:latest"'
|
||||
- run: 'apt update'
|
||||
- run: 'apt install -y buildah git-lfs'
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
- run: 'buildah build -t website'
|
||||
- run: 'buildah push website --creds ncamgnrvngu:${{ secrets.DOCKER_TOKEN }} docker://git.ncamgnrvngu.eu/ncamgnrvngu/website:latest'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue