Compare commits

...

2 Commits

Author SHA1 Message Date
8fd8ccc797
fix dumb formatting mistake
All checks were successful
Deploy / BuildandPush-Docker (push) Successful in 1m55s
2024-10-18 23:41:11 +02:00
1b627da61c
remove second job and fix format 2024-10-18 23:35:21 +02:00
2 changed files with 13 additions and 16 deletions

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

@ -1,12 +1,11 @@
name: Deploy
on:
- push:
- branches:
push:
branches:
- master
jobs:
Build-Docker:
BuildandPush-Docker:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
@ -15,12 +14,10 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Build Docker Image
run: docker buildx build -t ${{ 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 }}
- 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 }}