@@ -55,6 +55,12 @@ jobs:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Compute image name
|
||||
id: image
|
||||
run: |
|
||||
repo_lower=$(echo "${GITHUB_REPOSITORY}" | tr '[:upper:]' '[:lower:]')
|
||||
echo "name=ghcr.io/${repo_lower}" >> "${GITHUB_OUTPUT}"
|
||||
|
||||
- uses: docker/setup-qemu-action@v3
|
||||
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
@@ -66,8 +72,8 @@ jobs:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
|
||||
ghcr.io/${{ github.repository }}:latest
|
||||
${{ steps.image.outputs.name }}:${{ github.ref_name }}
|
||||
${{ steps.image.outputs.name }}:latest
|
||||
|
||||
- name: Create GitHub Release
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user