forked from external-repos/noisedash
Update github workflow
This commit is contained in:
10
.github/workflows/docker-image.yml
vendored
10
.github/workflows/docker-image.yml
vendored
@@ -1,11 +1,15 @@
|
|||||||
name: Docker Image CI
|
name: Docker Image CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request:
|
||||||
branches: [ main ]
|
types:
|
||||||
|
- labeled
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buildx:
|
buildx:
|
||||||
|
if: ${{ github.event.label.name == 'run-workflow' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
@@ -31,4 +35,4 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: noisedash/noisedash:latest,noisedash/noisedash:${{ github.ref_name }}
|
tags: noisedash/noisedash:latest,noisedash/noisedash:${{ github.head_ref }}
|
||||||
|
|||||||
Reference in New Issue
Block a user