Files
gitea-workspaces/.gitea/workflows/release-tag.yml
KoCoder 367f3096ef
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 4s
debug: pipeline
2024-07-05 19:40:39 +02:00

26 lines
787 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 WORKSPACE ${{ vars,GITEA_ACTOR }} REPO ${{ vars.GITEA_TOKEN }} REF ${{ vars.GITEA_REF }}
- name: "Git clone"
run: git clone ${{ vars.GITEA_REPOSITORY }}
- name: "Git switch"
run: git checkout ${{ vars.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: ${{ vars,GITEA_ACTOR }}
password: ${{ GITEA_TOKEN }}