|
|
|
|
@ -25,6 +25,9 @@ jobs:
|
|
|
|
|
- name: Checkout code
|
|
|
|
|
uses: actions/checkout@v6
|
|
|
|
|
|
|
|
|
|
- name: Set lowercase owner
|
|
|
|
|
run: echo "OWNER=${GITHUB_REPOSITORY_OWNER,,}" >> "$GITHUB_ENV"
|
|
|
|
|
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
|
uses: docker/setup-qemu-action@v4
|
|
|
|
|
|
|
|
|
|
@ -41,7 +44,7 @@ jobs:
|
|
|
|
|
uses: docker/login-action@v4
|
|
|
|
|
with:
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
username: ${{ github.repository_owner }}
|
|
|
|
|
username: ${{ env.OWNER }}
|
|
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
|
|
- name: Build and push
|
|
|
|
|
@ -57,9 +60,9 @@ jobs:
|
|
|
|
|
COMMIT_SHA=${{ github.sha }}
|
|
|
|
|
tags: |
|
|
|
|
|
boulderbadgedad/soulsync:latest
|
|
|
|
|
ghcr.io/${{ github.repository_owner }}/soulsync:latest
|
|
|
|
|
ghcr.io/${{ env.OWNER }}/soulsync:latest
|
|
|
|
|
${{ inputs.version_tag && format('boulderbadgedad/soulsync:{0}', inputs.version_tag) || '' }}
|
|
|
|
|
${{ inputs.version_tag && format('ghcr.io/{0}/soulsync:{1}', github.repository_owner, inputs.version_tag) || '' }}
|
|
|
|
|
${{ inputs.version_tag && format('ghcr.io/{0}/soulsync:{1}', env.OWNER, inputs.version_tag) || '' }}
|
|
|
|
|
|
|
|
|
|
- name: Announce release to Discord
|
|
|
|
|
if: success() && inputs.version_tag
|
|
|
|
|
|