CD into repository directory after cloning it
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 8s

This commit is contained in:
2024-07-06 23:36:42 +02:00
parent 61ee2070d3
commit cc58d7be52

View File

@ -11,14 +11,13 @@ jobs:
- name: "Print env" - name: "Print env"
run: echo WORKSPACE run: echo WORKSPACE
- name: "Git clone" - name: "Git clone"
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }}.git && cd "${{ gitea.repository_name }}" run: git clone ${{ gitea.server_url }}/${{ gitea.repository }}.git repository && cd repository
- name: "LS" - name: "LS"
run: ls -lisa run: ls -lisa
- name: "LS ECHO" - name: "LS ECHO"
run: echo "$(ls)" "${{ gitea.repository }}" "${{ gitea.ref }}" run: echo "$(ls)" "${{ gitea.repository }}" "${{ gitea.ref }}"
- name: "Git switch" - name: "Git switch"
run: git checkout "${{ gitea.ref }}" run: git checkout "${{ gitea.ref }}"
- uses: aevea/action-kaniko@master - uses: aevea/action-kaniko@master
name: Run Kaniko to build our docker container. name: Run Kaniko to build our docker container.
with: with: