Skip to content

p2p-worker-docker

p2p-worker-docker #44

name: p2p-worker-docker
on:
workflow_dispatch: # manually run
inputs:
tag:
description: image tag
required: true
env:
CI: true
jobs:
publish:
name: Build & publish P2P worker docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker login
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_LOGIN }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build & publish image
uses: docker/build-push-action@v3
with:
target: p2p-worker
push: true
tags: subsquid/p2p-worker:${{ inputs.tag }}