Compare commits
No commits in common. "8fd8ccc7973f5e71bb311120548a3c26f40a0bc5" and "b1c711694bcca2a65448879d6421a416191e78d8" have entirely different histories.
8fd8ccc797
...
b1c711694b
@ -1,7 +1,7 @@
|
||||
name: Test build
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- push:
|
||||
- branches-ignore:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
|
@ -1,11 +1,12 @@
|
||||
name: Deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- push:
|
||||
- branches:
|
||||
- master
|
||||
|
||||
|
||||
jobs:
|
||||
BuildandPush-Docker:
|
||||
Build-Docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
@ -14,10 +15,12 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Build Docker Image
|
||||
run: docker buildx build -t ${{ vars.DOCKER_TAG }} .
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Push Docker image
|
||||
run: docker push ${{ vars.DOCKER_TAG }}
|
||||
|
||||
Push-Docker:
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Push Docker image
|
||||
run: docker push ${{ vars.DOCKER_TAG }}
|
Loading…
x
Reference in New Issue
Block a user