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