Switch vars
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 5s

This commit is contained in:
Konstantin Hintermayer 2024-07-06 23:10:51 +02:00
parent 0442eea2c4
commit 6ed71c65fd

View File

@ -11,18 +11,18 @@ jobs:
- name: "Print env"
run: echo WORKSPACE
- name: "Git clone"
run: git clone ${{ GITEA_REPOSITORY }}
run: git clone ${{ gitea.repository }}
- name: "Git switch"
run: git checkout ${{ GITEA_REF }}"
run: git checkout ${{ gitea.ref }}"
- name: "LS"
run: ls -lisa
- name: "LS ECHO"
run: echo "$(ls)" "${{ vars.GITEA_REPOSITORY }}"
run: echo "$(ls)" "${{ gitea.repository }}"
- 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: ${{ gitea.ref }}
tag_with_latest: true
registry: git.kocoder.xyz
username: ${{ secrets.CI_RUNNER_USER }}