Skip to content

Commit

Permalink
Move the test command to when the latest tag exists
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Jan 28, 2024
1 parent 8aa35b7 commit 0a7a09c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0a7a09c

Please sign in to comment.