Archived
Private
Public Access
1
0

fixed mapping issue

This commit is contained in:
2023-05-17 19:14:24 +02:00
parent de3b46369b
commit 3bffb2ac42

View File

@@ -16,17 +16,21 @@ jobs:
- name: Login to Repo
uses: docker/login-action@v2
env:
PATH: /usr/bin/docker
with:
registry: git.leon-hoppe.de
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
volumes:
- /usr/local/bin/docker:/usr/bin/docker
- /var/run/docker.sock:/var/run/docker.sock
- name: Build and Push
uses: docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
PATH: /usr/bin/docker
with:
context: BetterIServ.Mobile
file: ./Dockerfile
@@ -34,6 +38,7 @@ jobs:
push: true
tags: ${{ env.DOCKER_IMAGE }}-frontend:latest
volumes:
- /usr/local/bin/docker:/usr/bin/docker
- /var/run/docker.sock:/var/run/docker.sock
@@ -45,17 +50,21 @@ jobs:
- name: Login to Repo
uses: docker/login-action@v2
env:
PATH: /usr/bin/docker
with:
registry: git.leon-hoppe.de
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
volumes:
- /usr/local/bin/docker:/usr/bin/docker
- /var/run/docker.sock:/var/run/docker.sock
- name: Build and Push
uses: docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
PATH: /usr/bin/docker
with:
context: BetterIServ.Backend
file: ./Dockerfile
@@ -63,4 +72,5 @@ jobs:
push: true
tags: ${{ env.DOCKER_IMAGE }}-backend:latest
volumes:
- /usr/local/bin/docker:/usr/bin/docker
- /var/run/docker.sock:/var/run/docker.sock