mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 21:33:22 +01:00
Meta action v2
This commit is contained in:
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@@ -58,16 +58,17 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
-
|
-
|
||||||
name: Docker meta
|
name: Docker meta
|
||||||
id: docker_meta
|
id: meta
|
||||||
uses: crazy-max/ghaction-docker-meta@v1
|
uses: crazy-max/ghaction-docker-meta@v2
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
${{ env.DOCKERHUB_SLUG }}
|
${{ env.DOCKERHUB_SLUG }}
|
||||||
${{ env.GHCR_SLUG }}
|
${{ env.GHCR_SLUG }}
|
||||||
tag-semver: |
|
tags: |
|
||||||
{{version}}
|
type=semver,pattern={{version}}
|
||||||
tag-edge: true
|
type=ref,event=pr
|
||||||
label-custom: |
|
type=edge
|
||||||
|
labels: |
|
||||||
org.opencontainers.image.title=Diun
|
org.opencontainers.image.title=Diun
|
||||||
org.opencontainers.image.description=Docker image update notifier
|
org.opencontainers.image.description=Docker image update notifier
|
||||||
org.opencontainers.image.vendor=CrazyMax
|
org.opencontainers.image.vendor=CrazyMax
|
||||||
@@ -114,7 +115,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
./docker-bake.hcl
|
./docker-bake.hcl
|
||||||
${{ steps.docker_meta.outputs.bake-file }}
|
${{ steps.meta.outputs.bake-file }}
|
||||||
targets: image-all
|
targets: image-all
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
-
|
-
|
||||||
@@ -132,13 +133,13 @@ jobs:
|
|||||||
name: Check manifest
|
name: Check manifest
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools inspect ${{ env.DOCKERHUB_SLUG }}:${{ steps.docker_meta.outputs.version }}
|
docker buildx imagetools inspect ${{ env.DOCKERHUB_SLUG }}:${{ steps.meta.outputs.version }}
|
||||||
docker buildx imagetools inspect ${{ env.GHCR_SLUG }}:${{ steps.docker_meta.outputs.version }}
|
docker buildx imagetools inspect ${{ env.GHCR_SLUG }}:${{ steps.meta.outputs.version }}
|
||||||
-
|
-
|
||||||
name: Inspect image
|
name: Inspect image
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
docker pull ${{ env.DOCKERHUB_SLUG }}:${{ steps.docker_meta.outputs.version }}
|
docker pull ${{ env.DOCKERHUB_SLUG }}:${{ steps.meta.outputs.version }}
|
||||||
docker image inspect ${{ env.DOCKERHUB_SLUG }}:${{ steps.docker_meta.outputs.version }}
|
docker image inspect ${{ env.DOCKERHUB_SLUG }}:${{ steps.meta.outputs.version }}
|
||||||
docker pull ${{ env.GHCR_SLUG }}:${{ steps.docker_meta.outputs.version }}
|
docker pull ${{ env.GHCR_SLUG }}:${{ steps.meta.outputs.version }}
|
||||||
docker image inspect ${{ env.GHCR_SLUG }}:${{ steps.docker_meta.outputs.version }}
|
docker image inspect ${{ env.GHCR_SLUG }}:${{ steps.meta.outputs.version }}
|
||||||
|
|||||||
@@ -47,10 +47,10 @@
|
|||||||
## 4.10.0 (2020/12/26)
|
## 4.10.0 (2020/12/26)
|
||||||
|
|
||||||
* Refactor CI and dev workflow with buildx bake (#247)
|
* Refactor CI and dev workflow with buildx bake (#247)
|
||||||
* Upload artifacts
|
* Upload artifacts
|
||||||
* Add `image-local` target
|
* Add `image-local` target
|
||||||
* Single job for artifacts and image
|
* Single job for artifacts and image
|
||||||
* Add `armv5` artifact
|
* Add `armv5` artifact
|
||||||
* MQTT Reconnection Log Spam (#241)
|
* MQTT Reconnection Log Spam (#241)
|
||||||
* Add Docker + File providers user guide (#239)
|
* Add Docker + File providers user guide (#239)
|
||||||
* Bump github.com/alecthomas/kong from 0.2.11 to 0.2.12 (#231)
|
* Bump github.com/alecthomas/kong from 0.2.11 to 0.2.12 (#231)
|
||||||
|
|||||||
Reference in New Issue
Block a user