try using own container registry
Some checks failed
Build and docker image / Build (pull_request) Failing after 1m4s
Some checks failed
Build and docker image / Build (pull_request) Failing after 1m4s
This commit is contained in:
parent
284bd1a034
commit
527dced5f6
@ -10,25 +10,21 @@ jobs:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Map docker socket
|
||||
run: ln -s /var/run/user/1000/docker.sock /var/run/docker.sock
|
||||
|
||||
|
||||
- uses: https://gitea.com/actions/checkout@v4
|
||||
|
||||
- name: Docker login
|
||||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: docker.io
|
||||
username: ${{ secrets.docker_username }}
|
||||
password: ${{ secrets.docker_password }}
|
||||
registry: git.kluster.moll.re
|
||||
username: ${{ gitea.repository_owner }}
|
||||
password: ${{ secrets.GITEA_TOKEN}}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: https://github.com/docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build
|
||||
uses: https://github.com/docker/build-push-action@v2
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: frontend
|
||||
tags: ${{ secrets.docker_registry }}/frontend:latest
|
||||
push: true
|
||||
tags: git.kluster.moll.re/renoll/moll.re/frontend:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user