Bump Microsoft.Xaml.Behaviors.Wpf from 1.1.77 to 1.1.122 #299
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build image | |
run: > | |
docker buildx build | |
--file DiscordChatExporter.Cli.dockerfile | |
--platform linux/amd64,linux/arm64 | |
--build-arg VERSION=${{ github.ref_type == 'tag' && github.ref_name || format('999.9.9-ci-{0}', github.sha) }} | |
--output type=tar,dest=DiscordChatExporter.Cli.Docker.tar | |
. | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: DiscordChatExporter.Cli.Docker | |
path: DiscordChatExporter.Cli.Docker.tar | |
deploy-latest: | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | |
if: ${{ github.event_name == 'push' && github.ref_type == 'branch' && github.ref_name == 'master' && vars.DOCKER_TOKEN != '' }} | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to DockerHub | |
run: > | |
echo ${{ secrets.DOCKER_TOKEN }} | | |
docker login --username tyrrrz --password-stdin | |
- name: Build & push image | |
run: > | |
docker buildx build | |
--file DiscordChatExporter.Cli.dockerfile | |
--platform linux/amd64,linux/arm64 | |
--push | |
--tag tyrrrz/discordchatexporter:latest | |
. | |
deploy-stable: | |
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }} | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to DockerHub | |
run: > | |
echo ${{ secrets.DOCKER_TOKEN }} | | |
docker login --username tyrrrz --password-stdin | |
- name: Build & push image | |
run: > | |
docker buildx build | |
--file DiscordChatExporter.Cli.dockerfile | |
--platform linux/amd64,linux/arm64 | |
--push | |
--tag tyrrrz/discordchatexporter:stable | |
--tag tyrrrz/discordchatexporter:${{ github.ref_name }} | |
. |