release docker #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: release docker | |
on: | |
workflow_dispatch: | |
inputs: | |
include_latest_tag: | |
type: choice | |
required: true | |
description: 'Include "latest" as one of the tags to be published' | |
default: 'false' | |
options: ['false', 'true'] | |
jobs: | |
node-docker-image: | |
uses: ./.github/workflows/docker-build.yml | |
with: | |
docker_file: Dockerfile.node | |
image_name: streamr/node | |
host_machine_platform: self-hosted | |
build_platforms: linux/amd64,linux/arm64 | |
branch: ${{ github.ref_name }} | |
push_image: true | |
include_latest_tag: ${{ github.event.inputs.include_latest_tag == 'true' }} | |
secrets: | |
dockerhub_username: ${{secrets.DOCKERHUB_USERNAME}} | |
dockerhub_token: ${{secrets.DOCKERHUB_TOKEN}} |