test CD
This commit is contained in:
parent
73d8471e3a
commit
42c784d959
@ -24,14 +24,14 @@ jobs:
|
|||||||
- name: Set up Docker BuildX
|
- name: Set up Docker BuildX
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.libreschool.org
|
registry: git.libreschool.org
|
||||||
username: ${{ gitea.repository_owner }}
|
username: ${{ gitea.repository_owner }}
|
||||||
password: ${{ secrets.GITEA_TOKEN }}
|
password: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build and publish
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
@ -40,5 +40,5 @@ jobs:
|
|||||||
linux/amd64
|
linux/amd64
|
||||||
# linux/arm64
|
# linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: git.libreschool.org/LibreSchool/libreschool.org
|
tags: git.libreschool.org/libreschool/libreschool.org:latest
|
||||||
# tags: registry.libreschool.org/libreschool/website:latest
|
# tags: registry.libreschool.org/libreschool/website:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user