From 0a7a09c36a8d3250ea8a4beb33b9105b1d2472cc Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 28 Jan 2024 10:43:00 +0100 Subject: [PATCH] Move the test command to when the latest tag exists --- .github/workflows/publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c9f5ffa..6eea718 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,10 +60,6 @@ jobs: # And docker manifest create does not like that EXTRA_ARGS: "--provenance=false" - - name: Test docker image - if: ${{ matrix.platform == 'linux/amd64' }} - run: make test-alpine - build-and-push-manifest: name: Build and push the docker hub manifest runs-on: ubuntu-latest @@ -96,6 +92,8 @@ jobs: run: docker manifest push docker.io/hickorydns/hickory-dns:latest - name: Inspect the manifest run: docker manifest inspect docker.io/hickorydns/hickory-dns:latest + - name: Test docker image + run: make test-alpine tags-cleanup: runs-on: ubuntu-latest