Automate docker build #1

Merged
audrey merged 7 commits from action into main 2025-04-03 13:59:06 +00:00
Showing only changes of commit 100b4d6c74 - Show all commits

View File

@ -39,7 +39,7 @@ jobs:
- name: Create Tag
id: tagger
run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITEA_OUTPUT
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@v6
@ -47,6 +47,6 @@ jobs:
context: .
push: true
tags: |
${{ emv.DOCKER_REGISTRY_URL }}/${{ env.DOCKER_ORG }}/${{ steps.tagger.outputs.REPO_NAME }}:${{ steps.tagger.outputs.REPO_VERSION}}
${{ emv.DOCKER_REGISTRY_URL }}/${{ env.DOCKER_ORG }}/${{ steps.tagger.outputs.REPO_NAME }}:latest
${{ env.DOCKER_REGISTRY_URL }}/${{ env.DOCKER_ORG }}/${{ steps.tagger.outputs.REPO_NAME }}:${{ steps.tagger.outputs.REPO_VERSION}}
${{ env.DOCKER_REGISTRY_URL }}/${{ env.DOCKER_ORG }}/${{ steps.tagger.outputs.REPO_NAME }}:latest