This commit is contained in:
@@ -26,9 +26,21 @@ jobs:
|
||||
username: ${{ gitea.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Prepare Meta
|
||||
id: prepare
|
||||
run: |
|
||||
BITCOIN_VERSION=26.2
|
||||
PLATFORM="linux/amd64"
|
||||
REPO=${{ gitea.repository }}
|
||||
|
||||
echo ::set-output name=build_date::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
||||
echo ::set-output name=docker_platform::${PLATFORM}
|
||||
echo ::set-output name=repository::${REPO,,}
|
||||
echo ::set-output name=version::${BITCOIN_VERSION}
|
||||
|
||||
- name: Build Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/amd64
|
||||
platforms: ${{ steps.prepare.outputs.docker_platform }}
|
||||
push: true
|
||||
tags: git.prettyhefty.com/${{ gitea.repository_owner }}/${{ gitea.repository }}:26.2
|
||||
tags: git.prettyhefty.com/${{ steps.prepare.outputs.repository }}:${{ steps.prepare.outputs.version }}
|
||||
Reference in New Issue
Block a user