From cc3d601836891fc4694745929f90204c684b4152 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 9 Apr 2024 09:49:11 +0200 Subject: [PATCH] ci: fixup latest image push Signed-off-by: Ettore Di Giacinto --- .github/workflows/image_build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/image_build.yml b/.github/workflows/image_build.yml index cba78933..bd244dcf 100644 --- a/.github/workflows/image_build.yml +++ b/.github/workflows/image_build.yml @@ -282,6 +282,7 @@ jobs: docker tag localai/localai:${{ steps.meta.outputs.version }} localai/localai:${{ inputs.latest-image }} docker pull quay.io/go-skynet/local-ai:${{ steps.meta.outputs.version }} docker tag quay.io/go-skynet/local-ai:${{ steps.meta.outputs.version }} quay.io/go-skynet/local-ai:${{ inputs.latest-image }} + docker push quay.io/go-skynet/local-ai:${{ inputs.latest-image }} - name: Latest AIO tag # run this on branches, when it is a tag and there is a latest-image defined if: github.event_name != 'pull_request' && inputs.latest-image-aio != '' && github.ref_type == 'tag' @@ -290,7 +291,8 @@ jobs: docker tag localai/localai:${{ steps.meta_aio_dockerhub.outputs.version }} localai/localai:${{ inputs.latest-image-aio }} docker pull quay.io/go-skynet/local-ai:${{ steps.meta_aio.outputs.version }} docker tag quay.io/go-skynet/local-ai:${{ steps.meta_aio.outputs.version }} quay.io/go-skynet/local-ai:${{ inputs.latest-image-aio }} - + docker push quay.io/go-skynet/local-ai:${{ inputs.latest-image-aio }} + - name: job summary run: | echo "Built image: ${{ steps.meta.outputs.labels }}" >> $GITHUB_STEP_SUMMARY