Fix some docker registry things.
Some checks failed
build / build (push) Failing after 14s
test / test (push) Successful in 36s

This commit is contained in:
Seraphim R. Pardee 2024-09-20 13:39:41 -04:00
parent 8b3fc498ba
commit 7e45406af0

View File

@ -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