Skip to content

chore: test github docker builder #1

chore: test github docker builder

chore: test github docker builder #1

name: Build and Push Docker Image
on:
push:
branches:
- docker-image
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/#-action@v2
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v6
with:
build-args: NODE_TYPE=standalone-node
context: .
file: Dockerfile
platforms: linux/amd64
tags: |
kiltprotocol/kilt-node:latest-develop
kiltprotocol/kilt-node:${{ github.sha }}