diff --git a/.gitea/workflows/build_docker.yaml b/.gitea/workflows/build_docker.yaml index 0c28544..d3d3723 100644 --- a/.gitea/workflows/build_docker.yaml +++ b/.gitea/workflows/build_docker.yaml @@ -33,12 +33,15 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 + run: echo "Checked out ${{ gitea.repository }}" - name: Environment part 2 run: | echo "++ Environment" && env|sort echo "++ PWD" && pwd echo "++ ls" && ls -al + echo "++ workspace" && ls ${{ gitea.workspace }} + echo "++ host is ${{ gitea.host }}" - name: Build run: | @@ -46,7 +49,7 @@ jobs: if [ -f init ]; then chmod 500 init; fi #([ -z "$REFRESH" -a -f build-cache/${CI_COMMIT_REF_SLUG} ]) && docker load < build-cache/${CI_COMMIT_REF_SLUG} || true #rm build-cache/* || true - docker build ${HTTP_PROXY:+--build-arg HTTP_PROXY=${HTTP_PROXY}} -t ${CI_REGISTRY_IMAGE}:${VERSIONARCH} . + docker build ${HTTP_PROXY:+--build-arg HTTP_PROXY=${HTTP_PROXY}} -t ${{ env.GITHUB_REPOSITORY }}:{{ $env.VERSION }} docker push ${CI_REGISTRY_IMAGE}:${VERSIONARCH} docker save ${CI_REGISTRY_IMAGE}:${VERSIONARCH} > build-cache/${CI_COMMIT_REF_SLUG}