Skip to content

Commit

Permalink
Merge pull request #13 from EMarshal/armRunners
Browse files Browse the repository at this point in the history
Arm runners
  • Loading branch information
EMarshal authored Feb 1, 2025
2 parents 162876f + 2cd9447 commit baf57ed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@ on:

jobs:
docker-build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
Dockerfile
show-progress: 'false'
sparse-checkout-cone-mode: false
- name: Parse Caddy version
id: version
Expand Down Expand Up @@ -51,7 +53,7 @@ jobs:
context: .
no-cache: true
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64, linux/arm64
platforms: ${{ (matrix.os == 'ubuntu-24.04' && 'linux/amd64') || (matrix.os == 'ubuntu-24.04-arm' && 'linux/arm64') }}
provenance: mode=min
push: ${{ github.event_name == 'push' && 'true' || inputs.push_build == true }}
tags: ${{ steps.meta.outputs.tags }}
5 changes: 2 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ on:
- Dockerfile

jobs:
docker-build:
runs-on: ubuntu-latest
lint:
runs-on: ubuntu-24.04-arm
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
Dockerfile
show-progress: 'false'
sparse-checkout-cone-mode: false
- name: Hadolint Action
uses: hadolint/[email protected]
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ repos:
hooks:
- id: forbid-tabs
- repo: https://github.com/rhysd/actionlint
rev: v1.7.6
rev: v1.7.7
hooks:
- id: actionlint

0 comments on commit baf57ed

Please sign in to comment.