Update github workflow

This commit is contained in:
Kay Thomas
2022-07-05 15:18:20 -07:00
parent 34215b4126
commit d3cc1db2f9

View File

@@ -1,11 +1,15 @@
name: Docker Image CI
on:
push:
branches: [ main ]
pull_request:
types:
- labeled
branches:
- 'main'
jobs:
buildx:
if: ${{ github.event.label.name == 'run-workflow' }}
runs-on: ubuntu-latest
steps:
-
@@ -31,4 +35,4 @@ jobs:
context: .
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: true
tags: noisedash/noisedash:latest,noisedash/noisedash:${{ github.ref_name }}
tags: noisedash/noisedash:latest,noisedash/noisedash:${{ github.head_ref }}