Experiment with Authentication and Websockets
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 2m24s

This commit is contained in:
2024-08-27 18:20:17 +02:00
parent 768c178218
commit 1e41dd833f
16 changed files with 687 additions and 0 deletions

View File

@ -0,0 +1,30 @@
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
- name: "Git clone"
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }}.git .
- name: "LS"
run: ls -lisa
- name: "LS ECHO"
run: echo "$(ls)" "${{ gitea.repository }}" "${{ gitea.ref_name }}" "${{ gitea.sha }}"
- name: "Git checkout"
run: git checkout "${{ gitea.sha }}"
- uses: aevea/action-kaniko@master
name: Run Kaniko to build our docker container.
with:
image: kocoded/gitea-workspaces/szuntis-backend-main
tag: ${{ gitea.workflow_sha }}
tag_with_latest: true
registry: git.kocoder.xyz
username: ${{ secrets.CI_RUNNER_USER }}
password: ${{ secrets.CI_RUNNER_TOKEN }}
build_file: DOCKERFILE