diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index e4fef86..fcbf00d 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -1,5 +1,5 @@ name: CI Pipeline -run-name: Build and Publish Pipeline +run-name: ${{ gitea.actor }} is running the CI Pipeline runs-on: ubuntu-latest on: pull_request: @@ -36,7 +36,6 @@ jobs: uses: actions/checkout@v3 - name: Set Environment Variables run: | - echo $(git rev-parse --short ${{ gitea.sha }}) echo "sha_short=$(git rev-parse --short ${{ gitea.sha }} )" >> "$GITHUB_ENV" - name: Show Environment Variables run: | @@ -48,4 +47,6 @@ jobs: with: context: . push: true - tags: ${{vars.docker_repo_url}}/${{gitea.repository}}:latest + tags: | + ${{ vars.docker_repo_url }}/${{ gitea.repository }}:${{ env.sha_short }} + ${{ vars.docker_repo_url }}/${{ gitea.repository }}:latest