Compare commits

..

No commits in common. "8fd8ccc7973f5e71bb311120548a3c26f40a0bc5" and "b1c711694bcca2a65448879d6421a416191e78d8" have entirely different histories.

2 changed files with 16 additions and 13 deletions

@ -1,7 +1,7 @@
name: Test build name: Test build
on: on:
push: - push:
branches-ignore: - branches-ignore:
- master - master
jobs: jobs:

@ -1,11 +1,12 @@
name: Deploy name: Deploy
on: on:
push: - push:
branches: - branches:
- master - master
jobs: jobs:
BuildandPush-Docker: Build-Docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository code - name: Check out repository code
@ -14,10 +15,12 @@ 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 }} .
- name: Log in to Docker Hub
uses: docker/login-action@v2 Push-Docker:
with: - name: Log in to Docker Hub
username: ${{ secrets.DOCKER_USERNAME }} uses: docker/login-action@v2
password: ${{ secrets.DOCKER_PASSWORD }} with:
- name: Push Docker image username: ${{ secrets.DOCKER_USERNAME }}
run: docker push ${{ vars.DOCKER_TAG }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push Docker image
run: docker push ${{ vars.DOCKER_TAG }}