0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-25 10:54:27 -04:00

improvements

This commit is contained in:
Lunny Xiao 2025-06-30 16:44:49 -07:00
parent 6a87ec615d
commit f079cd922f
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -108,6 +108,12 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get cleaned branch name
id: clean_name
run: |
REF_NAME=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\///' -e 's/refs\/tags\/v//' -e 's/release\/v//')
echo "Cleaned name is ${REF_NAME}"
echo "branch=${REF_NAME}" >> "$GITHUB_OUTPUT"
- name: build rootful docker image
uses: docker/build-push-action@v5
with:
@ -155,6 +161,12 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get cleaned branch name
id: clean_name
run: |
REF_NAME=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\///' -e 's/refs\/tags\/v//' -e 's/release\/v//')
echo "Cleaned name is ${REF_NAME}"
echo "branch=${REF_NAME}" >> "$GITHUB_OUTPUT"
- name: build rootless docker image
uses: docker/build-push-action@v5
with: