attempt to fix dockre

This commit is contained in:
Mike Farah 2021-01-21 21:11:04 +11:00
parent 9dd6d11362
commit 9ff51cd066

View File

@ -3,6 +3,7 @@ on:
push: push:
tags: tags:
- 'v*' - 'v*'
- 'dockerfix'
jobs: jobs:
publishGitRelease: publishGitRelease:
@ -40,7 +41,17 @@ jobs:
IMAGE_NAME: mikefarah/yq IMAGE_NAME: mikefarah/yq
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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 - name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1