|
|
|
@ -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' || '' }}
|
|
|
|
|
.
|
|
|
|
|