remove second job and fix format
This commit is contained in:
parent
b1c711694b
commit
1b627da61c
@ -1,8 +1,7 @@
|
|||||||
name: Test build
|
name: Test build
|
||||||
on:
|
on:
|
||||||
- push:
|
- push:
|
||||||
- branches-ignore:
|
- branches-ignore: [master]
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build-Docker:
|
Build-Docker:
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
on:
|
on:
|
||||||
- push:
|
- push:
|
||||||
- branches:
|
- branches: [master]
|
||||||
- master
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build-Docker:
|
BuildandPush-Docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
@ -15,8 +14,6 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: docker buildx build -t ${{ vars.DOCKER_TAG }} .
|
run: docker buildx build -t ${{ vars.DOCKER_TAG }} .
|
||||||
|
|
||||||
Push-Docker:
|
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user