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