Skip to content

Commit

Permalink
Experiment with running amd64 builds on self-hosted and arm64 builds …
Browse files Browse the repository at this point in the history
…on public runners
  • Loading branch information
spantaleev committed Feb 27, 2025
1 parent 6719538 commit 12804d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI (main and tags)
on:
push:
branches: [ "main" ]
branches: [ "ci" ]
tags: [ "v*" ]
permissions:
checks: write
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
type=raw,value=latest,enable=${{ github.ref_name == 'ci' }}
type=semver,pattern={{raw}}
docker-build:
Expand All @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
- os: self-hosted
arch: amd64
- os: ubuntu-24.04-arm
arch: arm64
Expand All @@ -68,7 +68,7 @@ jobs:
uses: docker/metadata-action@v5
with:
tags: |
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
type=raw,value=latest,enable=${{ github.ref_name == 'ci' }}
type=semver,pattern={{raw}}
flavor: |
latest=auto
Expand Down

0 comments on commit 12804d7

Please sign in to comment.