diff options
author | itchyny <itchyny@cybozu.co.jp> | 2023-07-21 09:09:38 +0900 |
---|---|---|
committer | itchyny <itchyny@cybozu.co.jp> | 2023-07-21 09:27:07 +0900 |
commit | c9dadc8c464298c213cf57559b728296a69deccd (patch) | |
tree | c2c1d52b087bdc6195e3d971482585d806097d0a | |
parent | 99a77f724b6bd4006ade19592b506ebba5a2bfa0 (diff) |
Update Docker imagedocker
-rw-r--r-- | .github/workflows/ci.yml | 5 |
1 files 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 |