[main]: action
Build and Push Docker Image / build (push) Failing after 4s

This commit is contained in:
John Gatward
2026-08-04 19:54:47 +01:00
parent dae859c2ee
commit 8956d0f133
2 changed files with 67 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
name: Build and Push Docker Image
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Registry
env:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
run: |
echo "$REGISTRY_TOKEN" | docker login gitea.umbra.mom \
-u "$REGISTRY_USER" \
--password-stdin
- name: Build image
run: |
docker build -t gitea.umbra.mom/ciaran/football-competitiveness:latest .
- name: Push image
run: |
docker push gitea.umbra.mom/ciaran/football-competitiveness:latest