add_gitea_workflows #17

Merged
brian merged 48 commits from add_gitea_workflows into main 2024-02-25 18:45:08 +01:00
Showing only changes of commit c9cd778f31 - Show all commits
+12 -4
View File
@@ -36,8 +36,16 @@ jobs:
uses: actions/checkout@v3
- name: Set Environment Variables
run: |
echo "sha_short=$(git rev-parse --short "$GITEA_SHA")" >> "$GITEA_ENV"
- name: Print Env Vars
echo $(git rev-parse --short ${{ gitea.sha }})
echo "sha_short=$(git rev-parse --short ${{ gitea.sha }} )" >> "$GITHUB_ENV"
- name: Show Environment Variables
run: |
echo "Branch: ${{ env.branch }}"
echo "Sha: ${{ env.sha_short }}"
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
echo "REPOSITORY: ${{ gitea.repository }}"
echo "COMMIT_SHA: ${{ env.sha_short }}"
- name: Build and Push Image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{vars.docker_repo_url}}/${{gitea.repository}}:latest