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