From de0c8783150f4e69f281c457cae19d5fe625ebc2 Mon Sep 17 00:00:00 2001 From: PiyushXCoder Date: Wed, 6 Dec 2023 23:50:46 +0530 Subject: [PATCH] Push directly --- .github/workflows/docker-image.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 9d446e1..0ef9040 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -22,9 +22,8 @@ jobs: - name: 'Build Inventory Image' run: | docker buildx create --name builder1 --use --bootstrap - docker buildx build --load --platform linux/arm64/v8,linux/amd64 \ + docker buildx build --push --platform linux/arm64/v8,linux/amd64 \ --build-arg="RUNNER_GROUP_ID=${{vars.RUNNER_GROUP_ID}}" \ --build-arg="RUNNER_USER_ID=${{vars.RUNNER_USER_ID}}" \ --build-arg="APP=${{vars.APP}}" --tag ghcr.io/${GITHUB_REPOSITORY,,}:main $(pwd) - docker push ghcr.io/${GITHUB_REPOSITORY,,}:main