23 lines
673 B
YAML
23 lines
673 B
YAML
name: pipeline
|
|
run-name: ${{ gitea.actor }} is running the script
|
|
runs-on: ubuntu-latest
|
|
on: push
|
|
image: python:3.12
|
|
jobs:
|
|
show:
|
|
name: Show
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v3
|
|
- name: Show Environment Variables
|
|
id: vars
|
|
run: |
|
|
echo "REPOSITORY: ${{ gitea.repository }}"
|
|
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
|
|
echo "COMMIT_SHA: ${{ gitea.sha }}"
|
|
echo $(git rev-parse --short ${{ gitea.sha }})
|
|
echo "SHA_SHORT=$(git rev-parse --short ${{ gitea.sha }} )"
|
|
echo "${ SHA_SHORT }"
|
|
echo "${{ gitea.env }}"
|