generated from oci/template
merith-tk
a07e2e8c77
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 2s
20 lines
419 B
YAML
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
|