try docker build
Some checks failed
CI / build-docker-image (pull_request) Failing after 1m42s
CI / build-and-test (pull_request) Failing after 2m37s

This commit is contained in:
Tobias Klemp
2025-12-29 16:45:57 +01:00
parent e6eb9ab5da
commit 5d0194264a
2 changed files with 16 additions and 15 deletions

View File

@@ -41,23 +41,24 @@ jobs:
build-docker-image:
runs-on: ubuntu-latest
steps:
- name: Update package list
run: sudo apt-get update
- name: Setup Podman
run: sudo apt-get -y install podman
- name: verify Podman installation
run: podman -v
- name: Checkout code
uses: actions/checkout@v4
- name: Login to Docker registry
run: podman login --tls-verify=false gitea:3000 --username ${{ github.actor }} --password ${{ secrets.REGISTRY_ACCESS_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
run: podman build .
- name: Log in to registry
uses: docker/login-action@v3
with:
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ GITHUB_REPOSITORY }}:${{ GITHUB_REF }}
# type-check:
# runs-on: ubuntu-latest