From 9a125db0ea485c32e9676f9df81bce4428e42680 Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:03:36 +0200 Subject: [PATCH] Reformat docker commands --- .github/workflows/docker.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e0328ab3..4129d138 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,11 +22,10 @@ jobs: - name: Build image run: > - docker buildx build + docker buildx build . --file DiscordChatExporter.Cli.dockerfile --platform linux/amd64,linux/arm64 --output type=tar,dest=DiscordChatExporter.Cli.Docker.tar - . - name: Upload artifacts uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # 3.1.3 @@ -56,11 +55,10 @@ jobs: - name: Build & push image run: > - docker buildx build + docker buildx build . --file DiscordChatExporter.Cli.dockerfile --platform linux/amd64,linux/arm64 --push --tag tyrrrz/discordchatexporter:latest ${{ github.ref_type == 'tag' && '--tag tyrrrz/discordchatexporter:$GITHUB_REF_NAME' || '' }} ${{ github.ref_type == 'tag' && '--tag tyrrrz/discordchatexporter:stable' || '' }} - .