diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 6bf2a43..84a5c66 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -20,7 +20,9 @@ jobs: image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipeline-container/dind:27.4.0-rc2 steps: - name: Clone Repository - run: git clone https://wf:${{ github.token }}@${${{ github.server_url }}#http://}/${{ github.repository_owner }}/${{ github.repository }}.git ${{ github.workspace }} + run: | + URL=${${{ github.server_url }}#http://} + git clone https://wf:${{ github.token }}@$URL/${{ github.repository_owner }}/${{ github.repository }}.git ${{ github.workspace }} - name: Check Out Branch run: | cd ${{ github.workspace }} diff --git a/.github/workflows/build-go.yml b/.github/workflows/build-go.yml index ba17516..e304aee 100644 --- a/.github/workflows/build-go.yml +++ b/.github/workflows/build-go.yml @@ -26,7 +26,9 @@ jobs: image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipeline-container/go:1.23 steps: - name: Clone Repository - run: git clone https://wf:${{ github.token }}@${${{ github.server_url }}#http://}/${{ github.repository_owner }}/${{ github.repository }}.git ${{ github.workspace }} + run: | + URL=${${{ github.server_url }}#http://} + git clone https://wf:${{ github.token }}@$URL/${{ github.repository_owner }}/${{ github.repository }}.git ${{ github.workspace }} - name: Check Out Branch run: | cd ${{ github.workspace }}