Build and Push / build (release) Failing after 1m1s
Add provenance: false to docker/build-push-action to fix "received unexpected HTTP status: 200 OK" error when pushing to Gitea container registry. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
683 B
YAML
29 lines
683 B
YAML
name: Build and Push
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Login to Gitea Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: git.schweitz.net
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
push: true
|
|
provenance: false
|
|
tags: |
|
|
git.schweitz.net/jpmschweitzer/tatlock:latest
|
|
git.schweitz.net/jpmschweitzer/tatlock:${{ github.ref_name }}
|