From c9dadc8c464298c213cf57559b728296a69deccd Mon Sep 17 00:00:00 2001 From: itchyny Date: Fri, 21 Jul 2023 09:09:38 +0900 Subject: Update Docker image --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cca857c6..b036cf4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ on: push: branches: - master + - docker tags: - "jq-*" pull_request: @@ -303,7 +304,7 @@ jobs: permissions: packages: write needs: linux - if: startsWith(github.ref, 'refs/tags/jq-') + if: startsWith(github.ref, 'refs/heads/docker') steps: - name: Clone repository uses: actions/checkout@v3 @@ -336,7 +337,7 @@ jobs: id: metadata with: images: ghcr.io/${{ github.repository }} - tags: type=match,pattern=jq-(.*),group=1,value=${{ github.ref_name }} + tags: latest - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx -- cgit v1.2.3