mirror of
https://github.com/DanielLavrushin/b4.git
synced 2026-04-28 11:30:39 +00:00
fix: update Docker tags to use lowercase repository name and add arm/v6 platform
This commit is contained in:
parent
8f266a20a1
commit
2f81c5e8c8
1 changed files with 4 additions and 3 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -199,11 +199,12 @@ jobs:
|
|||
- name: Determine tags
|
||||
id: tags
|
||||
run: |
|
||||
REPO_LOWER=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
|
||||
TAGS="lavrushin/b4:${{ env.VERSION }}"
|
||||
TAGS="${TAGS},ghcr.io/${{ github.repository }}:${{ env.VERSION }}"
|
||||
TAGS="${TAGS},ghcr.io/${REPO_LOWER}:${{ env.VERSION }}"
|
||||
if [ "${{ inputs.prerelease }}" != "true" ]; then
|
||||
TAGS="${TAGS},lavrushin/b4:latest"
|
||||
TAGS="${TAGS},ghcr.io/${{ github.repository }}:latest"
|
||||
TAGS="${TAGS},ghcr.io/${REPO_LOWER}:latest"
|
||||
fi
|
||||
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
|
||||
|
||||
|
|
@ -211,7 +212,7 @@ jobs:
|
|||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
|
||||
push: true
|
||||
build-args: |
|
||||
VERSION=${{ env.VERSION }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue