Publish Docker #2
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: "Publish Docker" | |
on: | |
workflow_dispatch: | |
inputs: | |
isLatest: | |
description: 'Add latest tag' | |
default: 'true' | |
required: true | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_HUB_USERNAME: subquerynetwork | |
DOCKRE_HUB_PASSWORD: ${{ secrets.SQ_DOCKERHUB_TOKEN }} | |
DOCKER_CLI_EXPERIMENTAL: enabled | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21.4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: subquerynetwork | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build Docker | |
run: go run build/ci.go docker -image -manifest amd64,arm64 -upload subquerynetwork/geth | |