test workflow build and push on gitea registry
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m1s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 1m1s
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -45,11 +45,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
options: '-e DOCKER_HOST=unix:///run/user/1000/docker.sock -v /var/run/user/1000/docker.sock:/run/user/1000/docker.sock'
|
with:
|
||||||
|
mount-docker-socket: true
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
options: '-e DOCKER_HOST=unix:///run/user/1000/docker.sock -v /var/run/user/1000/docker.sock:/run/user/1000/docker.sock'
|
with:
|
||||||
|
mount-docker-socket: true
|
||||||
|
|
||||||
# - name: Get Gitea Tags
|
# - name: Get Gitea Tags
|
||||||
# id: get_tags
|
# id: get_tags
|
||||||
@@ -65,8 +67,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
options: '-e DOCKER_HOST=unix:///run/user/1000/docker.sock -v /var/run/user/1000/docker.sock:/run/user/1000/docker.sock'
|
|
||||||
with:
|
with:
|
||||||
context: "{{defaultContext}}"
|
context: "{{defaultContext}}"
|
||||||
push: true
|
push: true
|
||||||
tags: "git.coopgo.io/coopgo-platform/mobility-accounts:test"
|
tags: "git.coopgo.io/coopgo-platform/mobility-accounts:test"
|
||||||
|
mount-docker-socket: true
|
||||||
Reference in New Issue
Block a user