From 9ff51cd0669550c0bbf3817782abe3326d942640 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Thu, 21 Jan 2021 21:11:04 +1100 Subject: [PATCH] attempt to fix dockre --- .github/workflows/release.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e8d2823..5edfb562 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ on: push: tags: - 'v*' + - 'dockerfix' jobs: publishGitRelease: @@ -40,7 +41,17 @@ jobs: IMAGE_NAME: mikefarah/yq runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Get latest release tag + uses: oprypin/find-latest-tag@v1 + with: + repository: mikefarah/yq # The repository to scan. + releases-only: true # We know that all relevant tags have a GitHub release for them. + id: yq + + - name: Clone source code + uses: actions/checkout@v2 + with: + ref: ${{ steps.yq.outputs.tag }} - name: Set up QEMU uses: docker/setup-qemu-action@v1