This commit is contained in:
@@ -44,24 +44,8 @@ jobs:
|
|||||||
username: ${{ gitea.repository_owner }}
|
username: ${{ gitea.repository_owner }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- if: ${{ steps.prepare.outputs.build }} == 'true'
|
- name: Build Docker image
|
||||||
name: Build Docker image
|
uses: docker/build-push-action@v6
|
||||||
run: |
|
with:
|
||||||
TAGS=(${{ steps.prepare.outputs.tags }})
|
push: true
|
||||||
|
tags: bill/bitcoin-docker:24
|
||||||
echo "Build date: ${{ steps.prepare.outputs.build_date }}"
|
|
||||||
echo "Docker platform: ${{ steps.prepare.outputs.docker_platforms }}"
|
|
||||||
echo "Push: ${{ steps.prepare.outputs.push }}"
|
|
||||||
echo "Tags: ${{ steps.prepare.outputs.tags }}"
|
|
||||||
|
|
||||||
echo docker buildx build --platform ${{ steps.prepare.outputs.docker_platforms }} \
|
|
||||||
--output "type=image,push=${{steps.prepare.outputs.push}}" \
|
|
||||||
--progress=plain \
|
|
||||||
--build-arg "BUILD_DATE=${{ steps.prepare.outputs.build_date }}" \
|
|
||||||
$(printf "%s" "${TAGS[@]/#/ --tag }" )/
|
|
||||||
|
|
||||||
docker buildx build --platform ${{ steps.prepare.outputs.docker_platforms }} \
|
|
||||||
--output "type=image,push=${{steps.prepare.outputs.push}}" \
|
|
||||||
--progress=plain \
|
|
||||||
--build-arg "BUILD_DATE=${{ steps.prepare.outputs.build_date }}" \
|
|
||||||
$(printf "%s" "${TAGS[@]/#/ --tag }" )/
|
|
||||||
Reference in New Issue
Block a user