mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-30 19:54:16 -04:00
Fix tag release CI
This commit is contained in:
parent
f7603db588
commit
d140a6e392
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check if a package should be pushed
|
- name: Check if a package should be pushed
|
||||||
run: |
|
run: |
|
||||||
echo "SHOULD_PUSH=$([ "${GITHUB_REF##*/}" == "master" ] || [ "${GITHUB_REF##*/}" == "next" ] && echo "true" || echo "false")" >> $GITHUB_ENV
|
echo "SHOULD_PUSH=$([ "${GITHUB_REF##*/}" == "master" ] || [ "${GITHUB_REF##*/}" == "next" ] || [ "${GITHUB_REF_TYPE}" == "tag" ] && echo "true" || echo "false")" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
@ -88,7 +88,7 @@ jobs:
|
|||||||
- name: Build and push
|
- name: Build and push
|
||||||
id: docker_build
|
id: docker_build
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
if: steps.filter.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch'
|
if: steps.filter.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch' || startsWith(github.event.ref, 'refs/tags/v')
|
||||||
with:
|
with:
|
||||||
context: ${{matrix.context}}
|
context: ${{matrix.context}}
|
||||||
file: ${{matrix.context}}/${{matrix.dockerfile}}
|
file: ${{matrix.context}}/${{matrix.dockerfile}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user