generated from avior/template-web-astro
Update .github/workflows/build_and_check.yml
All checks were successful
Build, check & Test / run (push) Successful in 1m54s
All checks were successful
Build, check & Test / run (push) Successful in 1m54s
This commit is contained in:
parent
5c49bd2190
commit
83d66eb440
8
.github/workflows/build_and_check.yml
vendored
8
.github/workflows/build_and_check.yml
vendored
@ -2,8 +2,10 @@ name: Build, check & Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: *
|
||||
tags: *
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- v*
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
@ -29,7 +31,6 @@ jobs:
|
||||
type=semver,pattern=latest
|
||||
|
||||
- name: Login to Docker Hub
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.dzeio.com
|
||||
@ -43,7 +44,6 @@ jobs:
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
file: ./Dockerfile.static
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
Loading…
x
Reference in New Issue
Block a user