Compare commits

...
2 Commits
Author SHA1 Message Date
Brian Bjarke Jensen b2b69981a1 added multiple tags to docker push
Code Quality Pipeline / Test (push) Successful in 49s
pipeline / Show (push) Successful in 4s
CI Pipeline / Test (pull_request) Successful in 54s
CI Pipeline / Build and Publish (pull_request) Successful in 12s
2024-02-25 17:23:55 +01:00
Brian Bjarke Jensen 53a03d780d updated workflow name 2024-02-25 17:23:33 +01:00
2 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
name: pipeline name: Code Quality Pipeline
run-name: ${{ gitea.actor }} is running the script run-name: ${{ gitea.actor }} is running the Code Quality Pipeline
runs-on: ubuntu-latest runs-on: ubuntu-latest
on: push on: push
image: python:3.12 image: python:3.12
+4 -3
View File
@@ -1,5 +1,5 @@
name: CI Pipeline name: CI Pipeline
run-name: Build and Publish Pipeline run-name: ${{ gitea.actor }} is running the CI Pipeline
runs-on: ubuntu-latest runs-on: ubuntu-latest
on: on:
pull_request: pull_request:
@@ -36,7 +36,6 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set Environment Variables - name: Set Environment Variables
run: | run: |
echo $(git rev-parse --short ${{ gitea.sha }})
echo "sha_short=$(git rev-parse --short ${{ gitea.sha }} )" >> "$GITHUB_ENV" echo "sha_short=$(git rev-parse --short ${{ gitea.sha }} )" >> "$GITHUB_ENV"
- name: Show Environment Variables - name: Show Environment Variables
run: | run: |
@@ -48,4 +47,6 @@ jobs:
with: with:
context: . context: .
push: true 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