mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
Closes https://github.com/ipfs/kubo/issues/8991 Part of https://github.com/ipfs/kubo/issues/8804
26 lines
542 B
YAML
26 lines
542 B
YAML
name: 'ci/gh-experiment: docker-build'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
docker-build:
|
|
if: github.repository == 'ipfs/kubo' || github.event_name == 'workflow_dispatch'
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
IMAGE_NAME: ipfs/kubo
|
|
WIP_IMAGE_TAG: wip
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19.1
|
|
- uses: actions/checkout@v3
|
|
- run: docker build -t $IMAGE_NAME:$WIP_IMAGE_TAG .
|