Introduce gitea-actions to automatically build this container #8

Merged
Kocoder merged 47 commits from gitea-actions into main 2024-08-04 21:06:54 +00:00
Showing only changes of commit 6ed71c65fd - Show all commits

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 }}