Initial test
Some checks failed
Testing Gitea Actions / Build (push) Failing after 4s

This commit is contained in:
Mark van Lent 2026-02-03 10:29:46 +01:00
parent 082b4f3ccc
commit 42d0219b18
Signed by: mvanlent
GPG Key ID: 4862BF79D5B80E6F
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,21 @@
name: Testing Gitea Actions
run-name: Building images in ${{ gitea.repository }}
on: [push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
- name: Build Docker Image
env:
BRANCH_NAME: ${{ github.ref_name }}
SHORT_HASH: ${{ github.sha }}
run: |
# Build the image with the commit hash tag
docker build -t test-image:${BRANCH_NAME}-${SHORT_HASH:0:5} .

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.DS_Store
**/.vscode

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM alpine:3.23
RUN apk add --no-cache curl