From 93adb3dabcdd4ac9fb21b9163dfae27c085a4ffd Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Sun, 7 Jan 2024 08:29:53 +0100 Subject: [PATCH] different order in action --- .github/workflows/docker-dev.yml | 4 ++-- .github/workflows/docker.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-dev.yml b/.github/workflows/docker-dev.yml index 0730aa53..f974383f 100644 --- a/.github/workflows/docker-dev.yml +++ b/.github/workflows/docker-dev.yml @@ -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] @@ -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] diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 0cd3d912..0d3ad5df 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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: @@ -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