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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: *
|
branches:
|
||||||
tags: *
|
- master
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
@ -29,7 +31,6 @@ jobs:
|
|||||||
type=semver,pattern=latest
|
type=semver,pattern=latest
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
if: github.event_name != 'pull_request'
|
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.dzeio.com
|
registry: git.dzeio.com
|
||||||
@ -43,7 +44,6 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
|
||||||
file: ./Dockerfile.static
|
file: ./Dockerfile.static
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
Loading…
x
Reference in New Issue
Block a user