test-runner-test/.forgejo/workflows/build-on-commit.yml

21 lines
419 B
YAML
Raw Permalink Normal View History

2024-12-25 23:28:14 +00:00
name: Build Docker Image on Commit
on:
push:
branches:
- main
tags:
- '!' # Exclude tags
jobs:
build-and-publish:
runs-on: [test-env] # Change the runner label to 'test-env'
2024-12-25 23:28:14 +00:00
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Say Hello World
run: |
echo "Hello World" # This will log "Hello World" to the GitHub Actions logs