Files
timothykim.net/.gitea/workflows/build.yml
T
timothykim 7085ecc4e2
Build and Push Docker Image / build (push) Failing after 4s
Test Runner / test (push) Successful in 1s
more debug
2026-03-10 23:44:36 -04:00

34 lines
874 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Debug network
run: |
echo "=== DNS resolve ==="
nslookup git.timothykim.net || echo "nslookup failed"
echo "=== Curl registry ==="
curl -vk https://git.timothykim.net/v2/ 2>&1 | head -30
echo "=== Ping ==="
ping -c 2 git.timothykim.net || echo "ping failed"
- name: Login to Gitea Registry
run: echo "${{ secrets.GITEA_TOKEN }}" | docker login git.timothykim.net -u ${{ gitea.actor }} --password-stdin
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: git.timothykim.net/timothykim/static:latest