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