diff --git a/.forgejo/workflows/image.yaml b/.forgejo/workflows/image.yaml index d763f21..9476430 100644 --- a/.forgejo/workflows/image.yaml +++ b/.forgejo/workflows/image.yaml @@ -9,8 +9,10 @@ on: jobs: build: runs-on: docker - container: - image: gcr.io/kaniko-project/executor:debug 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 install buildah' + - 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'