Update docker-image.yml

This commit is contained in:
Yuzerion 2024-03-30 02:27:01 +08:00 committed by GitHub
parent f697f84978
commit 4b480cab6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,9 +3,6 @@ name: Build and Push Container to GitHub Container Registry
on: on:
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
push:
branches:
- main
jobs: jobs:
build_and_push: build_and_push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -13,4 +10,4 @@ jobs:
- name: Build and Push Container to ghcr.io - name: Build and Push Container to ghcr.io
uses: GlueOps/github-actions-build-push-containers@v0.3.7 uses: GlueOps/github-actions-build-push-containers@v0.3.7
with: with:
tag: latest tags: latest