Skip to content

Commit 12804d7

Browse files
committed
Experiment with running amd64 builds on self-hosted and arm64 builds on public runners
1 parent 6719538 commit 12804d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/workflow.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CI (main and tags)
22
on:
33
push:
4-
branches: [ "main" ]
4+
branches: [ "ci" ]
55
tags: [ "v*" ]
66
permissions:
77
checks: write
@@ -35,7 +35,7 @@ jobs:
3535
images: |
3636
ghcr.io/${{ github.repository }}
3737
tags: |
38-
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
38+
type=raw,value=latest,enable=${{ github.ref_name == 'ci' }}
3939
type=semver,pattern={{raw}}
4040
4141
docker-build:
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
include:
50-
- os: ubuntu-latest
50+
- os: self-hosted
5151
arch: amd64
5252
- os: ubuntu-24.04-arm
5353
arch: arm64
@@ -68,7 +68,7 @@ jobs:
6868
uses: docker/metadata-action@v5
6969
with:
7070
tags: |
71-
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
71+
type=raw,value=latest,enable=${{ github.ref_name == 'ci' }}
7272
type=semver,pattern={{raw}}
7373
flavor: |
7474
latest=auto

0 commit comments

Comments
 (0)