test-runner-test/.forgejo/workflows/build-on-commit.yml
merith-tk a07e2e8c77
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 2s
Update .forgejo/workflows/build-on-commit.yml
2024-12-25 23:30:17 +00:00

20 lines
419 B
YAML

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'
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