From 7e45406af0357cee541c4570a06e28a6fe541217 Mon Sep 17 00:00:00 2001 From: "Seraphim R. Pardee" Date: Fri, 20 Sep 2024 13:39:41 -0400 Subject: [PATCH] Fix some docker registry things. --- .gitea/workflows/build.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index f698ea1..06b17fe 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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