This commit is contained in:
@@ -32,16 +32,16 @@ runs:
|
|||||||
|
|
||||||
- name: Set repository variable
|
- name: Set repository variable
|
||||||
shell: bash
|
shell: bash
|
||||||
|
id: repo
|
||||||
run: |
|
run: |
|
||||||
REPOSITORY=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')
|
REPOSITORY=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')
|
||||||
echo "REPOSITORY=$REPOSITORY" >> $GITHUB_ENV
|
echo "name=$REPOSITORY" >> $GITHUB_OUTPUT
|
||||||
echo "Repository: $REPOSITORY"
|
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: '${{ vars.INSTANCE_URL }}/$REPOSITORY:${{ inputs.tag }}'
|
tags: '${{ vars.INSTANCE_URL }}/${{ steps.repo.outputs.name }}:${{ inputs.tag }}'
|
||||||
|
|
||||||
- name: Set output
|
- name: Set output
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user