Skip to content

Commit

Permalink
Add docker build image build description
Browse files Browse the repository at this point in the history
  • Loading branch information
artiomn authored Nov 5, 2024
1 parent 5782d97 commit de14dde
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docker-build-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and push Docker image

on:
push:
branches: [ "master" ]
paths:
- 'src/docker_images/**'
- '.github/workflows/docker-images-build.yml'
pull_request:
branches: [ "master" ]
paths:
- 'src/docker_images/**'
- '.github/workflows/docker-images-build.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

0 comments on commit de14dde

Please sign in to comment.