diff --git a/.github/workflows/docker-image-compat.yml b/.github/workflows/docker-image-compat.yml new file mode 100644 index 00000000..34b1a33d --- /dev/null +++ b/.github/workflows/docker-image-compat.yml @@ -0,0 +1,25 @@ +name: Docker Image CI (nightly) + +on: + push: + branches: + - "*" # matches every branch that doesn't contain a '/' + - "*/*" # matches every branch containing a single '/' + - "**" # matches every branch + - "!dependabot/*" + - "!main" # excludes main + - "!compat" # excludes compat branch + +jobs: + build-nightly: + uses: ./.github/workflows/docker-image.yml + with: + image_name: ${{ github.repository_owner }}/godoxy + tag: nightly + target: main + build-nightly-agent: + uses: ./.github/workflows/docker-image.yml + with: + image_name: ${{ github.repository_owner }}/godoxy-agent + tag: nightly + target: agent diff --git a/.github/workflows/docker-image-nightly.yml b/.github/workflows/docker-image-nightly.yml index 20c5497d..40fea955 100644 --- a/.github/workflows/docker-image-nightly.yml +++ b/.github/workflows/docker-image-nightly.yml @@ -1,24 +1,20 @@ -name: Docker Image CI (nightly) +name: Docker Image CI (compat) on: push: branches: - - "*" # matches every branch that doesn't contain a '/' - - "*/*" # matches every branch containing a single '/' - - "**" # matches every branch - - "!dependabot/*" - - "!main" # excludes main + - "compat" # compat branch jobs: - build-nightly: + build-compat: uses: ./.github/workflows/docker-image.yml with: image_name: ${{ github.repository_owner }}/godoxy - tag: nightly + tag: compat target: main - build-nightly-agent: + build-compat-agent: uses: ./.github/workflows/docker-image.yml with: image_name: ${{ github.repository_owner }}/godoxy-agent - tag: nightly + tag: compat target: agent