mirror of
https://github.com/docker/metadata-action.git
synced 2025-04-13 21:00:25 +02:00
Update ci workflow
This commit is contained in:
parent
c7ce4f1da6
commit
6866b19b9e
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -82,6 +82,12 @@ jobs:
|
|||||||
|
|
||||||
tag-semver:
|
tag-semver:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
tag-latest:
|
||||||
|
- 'true'
|
||||||
|
- 'false'
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
@ -97,6 +103,7 @@ jobs:
|
|||||||
{{raw}}
|
{{raw}}
|
||||||
{{version}}
|
{{version}}
|
||||||
{{major}}.{{minor}}.{{patch}}
|
{{major}}.{{minor}}.{{patch}}
|
||||||
|
tag-latest: ${{ matrix.tag-latest }}
|
||||||
|
|
||||||
docker-push:
|
docker-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -116,7 +123,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: ${{ env.DOCKER_IMAGE }}
|
images: ${{ env.DOCKER_IMAGE }}
|
||||||
tag-sha: true
|
tag-sha: true
|
||||||
tag-match: '\d{1,3}.\d{1,3}.\d{1,3}'
|
tag-semver: |
|
||||||
|
v{{version}}
|
||||||
|
v{{major}}.{{minor}}
|
||||||
|
v{{major}}
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user