Update docker.yml

limit docker build to main branch
This commit is contained in:
yuhan6665 2023-04-29 23:05:53 -04:00 committed by GitHub
parent dd81ad5342
commit ae518cce52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ name: Build docker image
on:
push:
branches:
- '*'
- main
jobs:
build-image:
@ -42,4 +42,4 @@ jobs:
file: .github/docker/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}