Skip to content

Commit 94904e5

Browse files
committed
fix: docker build on tag & use m1
1 parent 5ee8ce2 commit 94904e5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ jobs:
9191
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
9292
with:
9393
images: ${{ env.GHCR_IMAGE }}
94+
tags: |
95+
type=ref,event=branch,pattern={{ github.ref_name }} # for branch builds
96+
type=ref,event=tag,pattern={{ github.ref_name }} # for tag builds
9497
9598
- name: Set up Docker Context for Buildx
9699
# This step sets up a Docker context for Buildx.

dist-workspace.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ install-updater = true
2020
global = "ubuntu-24.04"
2121
x86_64-unknown-linux-gnu = "ubuntu-24.04"
2222
aarch64-unknown-linux-gnu = "ubuntu-24.04-arm"
23+
x86_64-pc-windows-msvc = "ubuntu-24.04"
2324
aarch64-pc-windows-msvc = "ubuntu-24.04-arm"
25+
aarch64-apple-darwin = "macos-15"
2426

2527
# https://axodotdev.github.io/cargo-dist/book/reference/config.html?highlight=dependencies#dependencies
2628
[dist.dependencies.homebrew]
@@ -44,5 +46,6 @@ libavfilter-dev = "*"
4446
libavdevice-dev = "*"
4547

4648
[dist.dependencies.chocolatey]
49+
pkg-config = "*"
4750
ffmpeg = "*"
4851
protoc = "*"

0 commit comments

Comments
 (0)