From 19f2cf2dbb752e164d32f535c8842ab32ed4933e Mon Sep 17 00:00:00 2001 From: a1ef Date: Wed, 13 Nov 2024 20:14:12 +0300 Subject: [PATCH] Squash image --- .github/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 69f68c1..5b8032d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,6 +16,8 @@ jobs: - uses: actions/checkout@v4 - name: Build and push the image run : | + docker buildx build --tag argocd-helm-plugin-setup . + docker container create --name bogus argocd-helm-plugin-setup + docker export bogus | docker import - ghcr.io/a1ef/argocd-helm-plugin-setup docker login --username a1ef --password ${{ secrets.GITHUB_TOKEN }} ghcr.io - docker build --tag ghcr.io/a1ef/argocd-helm-plugin-setup . docker push ghcr.io/a1ef/argocd-helm-plugin-setup