Skip to content

Commit

Permalink
different order in action
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Jan 7, 2024
1 parent 0e15e58 commit 93adb3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:

jobs:
build-amd64:
runs-on: ubuntu-latest
# If contains the keyword "#release" in the commit message.
if: ${{ !contains(github.event.head_commit.message, '#release') }}
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [amd64]
Expand All @@ -33,9 +33,9 @@ jobs:
- name: Create new and append to latest manifest
run: docker buildx imagetools create -t kerberos/agent-dev:latest kerberos/agent-dev:arch-$(echo ${{matrix.architecture}} | tr / -)-$(echo $GITHUB_SHA | cut -c1-7)
build-other:
runs-on: ubuntu-latest
# If contains the keyword "#release" in the commit message.
if: ${{ !contains(github.event.head_commit.message, '#release') }}
runs-on: ubuntu-latest
strategy:
matrix:
#architecture: [arm64, arm/v7, arm/v6]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ env:

jobs:
build-amd64:
runs-on: ubuntu-latest
# If contains the keyword "#release" in the commit message.
if: ${{ !contains(github.event.head_commit.message, '#release') }}
if: "!contains(github.event.head_commit.message, '#release')"
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
Expand Down Expand Up @@ -70,9 +70,9 @@ jobs:
#- name: Use Snapcraft
# run: tar -xf agent-${{matrix.architecture}}.tar && snapcraft
build-other:
runs-on: ubuntu-latest
# If contains the keyword "#release" in the commit message.
if: ${{ !contains(github.event.head_commit.message, '#release') }}
runs-on: ubuntu-latest
permissions:
contents: write
needs: build-amd64
Expand Down

0 comments on commit 93adb3d

Please sign in to comment.