Skip to content

Update README.md

Update README.md #2

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::$(git describe --tags --always)
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
kaiwadev/kaiwa-subnet:${{ steps.get_version.outputs.VERSION }}
kaiwadev/kaiwa-subnet:alpha