Skip to content

Commit

Permalink
Merge pull request #6 from jhlegarreta/AddDockerGHAWorkflow
Browse files Browse the repository at this point in the history
ENH: Test building the Docker image
  • Loading branch information
thewtex authored Oct 6, 2023
2 parents e774b65 + ca0d688 commit be3fe02
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build docker image

on:
push:
branches: ['master']
pull_request:
branches: ['master']

jobs:

build:

runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Build the Docker image
run: docker build . --file Dockerfile --tag itk-doxygen-docker:$(date +%Y-%m-%d-%H-%M)
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
ITKDoxygen
==========

[![][doxygen-img]][doxygen-link] [![][deployment-img]][deployment-link]
[![][doxygen-img]][doxygen-link] [![][deployment-img]][deployment-link] [![][build-docker-img]][build-docker-link]

[doxygen-img]: https://github.com/InsightSoftwareConsortium/ITKDoxygen/actions/workflows/Doxygen.yml/badge.svg
[doxygen-link]: https://github.com/InsightSoftwareConsortium/ITKDoxygen/actions/workflows/Doxygen.yml

[deployment-img]: https://github.com/InsightSoftwareConsortium/ITKDoxygen/actions/workflows/pages/pages-build-deployment/badge.svg
[deployment-link]: https://insightsoftwareconsortium.github.io/ITKDoxygen/

[build-docker-img]: https://github.com/InsightSoftwareConsortium/ITKDoxygen/actions/workflows/build-docker-image.yml/badge.svg
[build-docker-link]: https://github.com/InsightSoftwareConsortium/ITKDoxygen/actions/workflows/build-docker-image.yml

Overview
--------

Expand Down

0 comments on commit be3fe02

Please sign in to comment.