Skip to content

Update docker-build-image.yml #1

Update docker-build-image.yml

Update docker-build-image.yml #1

name: Build and push Docker image
on:
# For the manual run.
workflow_dispatch:
push:
branches: [ "master" ]
paths:
- 'docker/build_image/**'
- '.github/workflows/docker-build-image.yml'
pull_request:
branches: [ "master" ]
paths:
- 'docker/build_image/**'
- '.github/workflows/docker-build-image.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: artiomn
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v4
- name: Build the Docker image for KNP build
working-directory: ./docker/build_image
run: docker build . --file Dockerfile --tag knp-build-image-amd64