Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Sep 29, 2023
1 parent 3d7bc26 commit aa626f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/buiild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
build-push-images:
# pull requests are a duplicate of a branch push if within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
Expand All @@ -17,8 +16,12 @@ jobs:
strategy:
fail-fast: false
matrix:
architecture: ["linux"]
include:
- architecture: linux
os: ubuntu-latest
platform: linux/amd64

runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -44,6 +47,7 @@ jobs:
env:
REGISTRY: ghcr.io
ARCH: ${{ matrix.architecture }}
PLATFORM: ${{ matrix.platform }}
REPOSITORY: ${{ github.repository }}
TAG: ${{ github.ref_name }}
PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
Expand Down

0 comments on commit aa626f5

Please sign in to comment.