Fix some docker registry things.
This commit is contained in:
parent
8b3fc498ba
commit
7e45406af0
@ -9,15 +9,26 @@ jobs:
|
|||||||
- name: login to container registry
|
- name: login to container registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.hl.srp.life
|
registry: gitea:3000
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.GITEA_TOKEN }}
|
password: ${{ secrets.GITEA_TOKEN }}
|
||||||
- name: docker buildx setup
|
- name: docker buildx setup
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
with:
|
||||||
|
config-inline: |
|
||||||
|
[registry."gitea:3000"]
|
||||||
|
http = true
|
||||||
|
insecure = true
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: build and push to registry
|
- name: build and push to registry
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./Dockerfile
|
||||||
|
platforms: |
|
||||||
|
linux/amd64
|
||||||
|
linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ gitea.actor }}/bingo:dev
|
tags: |
|
||||||
|
gitea:3000/${{ gitea.repository_owner }}/${{ gitea.repository }}:dev
|
||||||
|
Loading…
Reference in New Issue
Block a user