mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-24 19:54:22 -04:00
Fix docker workflow issues
This commit is contained in:
parent
9575fd11b5
commit
168b3c2f31
1 changed files with 5 additions and 2 deletions
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
|
@ -18,6 +18,7 @@ jobs:
|
||||||
docker buildx build
|
docker buildx build
|
||||||
--file DiscordChatExporter.Cli.dockerfile
|
--file DiscordChatExporter.Cli.dockerfile
|
||||||
--platform linux/amd64,linux/arm64
|
--platform linux/amd64,linux/arm64
|
||||||
|
--load
|
||||||
.
|
.
|
||||||
|
|
||||||
deploy-latest:
|
deploy-latest:
|
||||||
|
@ -36,6 +37,7 @@ jobs:
|
||||||
docker buildx build
|
docker buildx build
|
||||||
--file DiscordChatExporter.Cli.dockerfile
|
--file DiscordChatExporter.Cli.dockerfile
|
||||||
--platform linux/amd64,linux/arm64
|
--platform linux/amd64,linux/arm64
|
||||||
|
--push
|
||||||
--tag tyrrrz/discordchatexporter:latest
|
--tag tyrrrz/discordchatexporter:latest
|
||||||
.
|
.
|
||||||
|
|
||||||
|
@ -43,7 +45,7 @@ jobs:
|
||||||
run: docker login -u tyrrrz -p ${{ secrets.DOCKER_TOKEN }}
|
run: docker login -u tyrrrz -p ${{ secrets.DOCKER_TOKEN }}
|
||||||
|
|
||||||
- name: Push image
|
- name: Push image
|
||||||
run: docker push tyrrrz/discordchatexporter:latest
|
run: ocker push tyrrrz/discordchatexporter --all-tags
|
||||||
|
|
||||||
deploy-stable:
|
deploy-stable:
|
||||||
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
|
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
|
||||||
|
@ -65,6 +67,7 @@ jobs:
|
||||||
docker buildx build
|
docker buildx build
|
||||||
--file DiscordChatExporter.Cli.dockerfile
|
--file DiscordChatExporter.Cli.dockerfile
|
||||||
--platform linux/amd64,linux/arm64
|
--platform linux/amd64,linux/arm64
|
||||||
|
--push
|
||||||
--tag tyrrrz/discordchatexporter:stable
|
--tag tyrrrz/discordchatexporter:stable
|
||||||
--tag tyrrrz/discordchatexporter:${{ steps.get-version.outputs.tag }}
|
--tag tyrrrz/discordchatexporter:${{ steps.get-version.outputs.tag }}
|
||||||
.
|
.
|
||||||
|
@ -73,4 +76,4 @@ jobs:
|
||||||
run: docker login -u tyrrrz -p ${{ secrets.DOCKER_TOKEN }}
|
run: docker login -u tyrrrz -p ${{ secrets.DOCKER_TOKEN }}
|
||||||
|
|
||||||
- name: Push image
|
- name: Push image
|
||||||
run: docker push --all-tags tyrrrz/discordchatexporter
|
run: docker push tyrrrz/discordchatexporter --all-tags
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue