Some checks failed
build-docker-imge / Build the docker container (push) Failing after 6s
26 lines
725 B
YAML
26 lines
725 B
YAML
name: build-docker-imge
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
build:
|
|
name: Build the docker container
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Print env"
|
|
run: echo ::debug::WORKSPACE
|
|
- name: "Git clone"
|
|
run: git clone ${{ GITEA_REPOSITORY }}
|
|
- name: "Git switch"
|
|
run: git checkout ${{ GITEA_REF }}"
|
|
- uses: aevea/action-kaniko@master
|
|
name: Run Kaniko to build our docker container.
|
|
with:
|
|
image: kocoded/gitea-workspaces/ubuntu-vscode-node
|
|
tag: ${{ GITEA_REF }}
|
|
tag_with_latest: true
|
|
registry: git.kocoder.xyz
|
|
username: ${{ secrets.CI_RUNNER_USER }}
|
|
password: ${{ secrets.CI_RUNNER_TOKEN }}
|