updated workflow
This commit is contained in:
@@ -10,13 +10,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Show Environment Variables
|
- name: Set Environment Variables
|
||||||
id: vars
|
id: vars
|
||||||
run: |
|
run: |
|
||||||
echo "REPOSITORY: ${{ gitea.repository }}"
|
echo "REPOSITORY: ${{ gitea.repository }}"
|
||||||
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
|
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
|
||||||
echo "COMMIT_SHA: ${{ gitea.sha }}"
|
echo "COMMIT_SHA: ${{ gitea.sha }}"
|
||||||
echo $(git rev-parse --short ${{ gitea.sha }})
|
echo $(git rev-parse --short ${{ gitea.sha }})
|
||||||
echo "SHA_SHORT=$(git rev-parse --short ${{ gitea.sha }} )"
|
echo "sha_short=$(git rev-parse --short ${{ gitea.sha }} )" >> "$vars"
|
||||||
echo "${ SHA_SHORT }"
|
|
||||||
echo "${{ gitea.env }}"
|
echo "${{ gitea.env }}"
|
||||||
|
- name: Show Environment Variables
|
||||||
|
run: |
|
||||||
|
echo "REPOSITORY: ${{ gitea.repository }}"
|
||||||
|
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
|
||||||
|
echo "COMMIT_SHA: ${{ gitea.sha }}"
|
||||||
|
echo "${{ vars.sha_short }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user