added docker requirements
This commit is contained in:
@@ -14,15 +14,18 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to Repo
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.leon-hoppe.de
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
volumes:
|
||||
- /usr/bin/docker:/usr/bin/docker
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
- name: Build and Push
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -34,9 +37,6 @@ jobs:
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: ${{ env.DOCKER_IMAGE }}-frontend:latest
|
||||
volumes:
|
||||
- /usr/bin/docker:/usr/bin/docker
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
|
||||
backend:
|
||||
@@ -45,15 +45,18 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to Repo
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.leon-hoppe.de
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
volumes:
|
||||
- /usr/bin/docker:/usr/bin/docker
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
- name: Build and Push
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -65,6 +68,3 @@ jobs:
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: ${{ env.DOCKER_IMAGE }}-backend:latest
|
||||
volumes:
|
||||
- /usr/bin/docker:/usr/bin/docker
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
Reference in New Issue
Block a user