diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e66ed4..86e5852 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- [PR-127](https://github.com/itk-dev/devops_itkdev-docker/pull/127) + - Added check for images being pullable. - [PR-121](https://github.com/itk-dev/devops_itkdev-docker/pull/121)) - Changed COMPOSE_USER to runner. - [PR-108](https://github.com/itk-dev/devops_itkdev-docker/pull/108) diff --git a/docs/github-actions-templates.md b/docs/github-actions-templates.md index c462c63..d4dd66c 100644 --- a/docs/github-actions-templates.md +++ b/docs/github-actions-templates.md @@ -1,6 +1,6 @@ @@ -197,6 +197,14 @@ Validates styles files. --- +[github/workflows/images.yaml](github/workflows/images.yaml) + +### Images + +Checks that all docker images can be pulled. + +--- + [github/workflows/markdown.yaml](github/workflows/markdown.yaml) ### Markdown diff --git a/github/workflows/images.yaml b/github/workflows/images.yaml new file mode 100644 index 0000000..e0b8b7a --- /dev/null +++ b/github/workflows/images.yaml @@ -0,0 +1,22 @@ +# Do not edit this file! Make a pull request on changing +# github/workflows/images.yaml in +# https://github.com/itk-dev/devops_itkdev-docker if need be. + +### ### Images +### +### Checks that all docker images can be pulled. + +name: Images + +on: + pull_request: + +jobs: + images: + runs-on: ubuntu-latest + name: Check that docker images can be pulled + steps: + - uses: actions/checkout@v5 + - name: Check that docker images can be pulled + run: | + COMPOSE_PROFILES='*' docker compose pull diff --git a/templates/drupal-10/.github/workflows/images.yaml b/templates/drupal-10/.github/workflows/images.yaml new file mode 120000 index 0000000..7e320eb --- /dev/null +++ b/templates/drupal-10/.github/workflows/images.yaml @@ -0,0 +1 @@ +../../../../github/workflows/images.yaml \ No newline at end of file diff --git a/templates/drupal-11/.github/workflows/images.yaml b/templates/drupal-11/.github/workflows/images.yaml new file mode 120000 index 0000000..7e320eb --- /dev/null +++ b/templates/drupal-11/.github/workflows/images.yaml @@ -0,0 +1 @@ +../../../../github/workflows/images.yaml \ No newline at end of file diff --git a/templates/drupal-7/.github/workflows/images.yaml b/templates/drupal-7/.github/workflows/images.yaml new file mode 120000 index 0000000..7e320eb --- /dev/null +++ b/templates/drupal-7/.github/workflows/images.yaml @@ -0,0 +1 @@ +../../../../github/workflows/images.yaml \ No newline at end of file diff --git a/templates/drupal-8/.github/workflows/images.yaml b/templates/drupal-8/.github/workflows/images.yaml new file mode 120000 index 0000000..7e320eb --- /dev/null +++ b/templates/drupal-8/.github/workflows/images.yaml @@ -0,0 +1 @@ +../../../../github/workflows/images.yaml \ No newline at end of file diff --git a/templates/drupal-9/.github/workflows/images.yaml b/templates/drupal-9/.github/workflows/images.yaml new file mode 120000 index 0000000..7e320eb --- /dev/null +++ b/templates/drupal-9/.github/workflows/images.yaml @@ -0,0 +1 @@ +../../../../github/workflows/images.yaml \ No newline at end of file diff --git a/templates/drupal-module/.github/workflows/images.yaml b/templates/drupal-module/.github/workflows/images.yaml new file mode 120000 index 0000000..7e320eb --- /dev/null +++ b/templates/drupal-module/.github/workflows/images.yaml @@ -0,0 +1 @@ +../../../../github/workflows/images.yaml \ No newline at end of file diff --git a/templates/symfony-3/.github/workflows/images.yaml b/templates/symfony-3/.github/workflows/images.yaml new file mode 120000 index 0000000..7e320eb --- /dev/null +++ b/templates/symfony-3/.github/workflows/images.yaml @@ -0,0 +1 @@ +../../../../github/workflows/images.yaml \ No newline at end of file diff --git a/templates/symfony-4/.github/workflows/images.yaml b/templates/symfony-4/.github/workflows/images.yaml new file mode 120000 index 0000000..7e320eb --- /dev/null +++ b/templates/symfony-4/.github/workflows/images.yaml @@ -0,0 +1 @@ +../../../../github/workflows/images.yaml \ No newline at end of file diff --git a/templates/symfony-6/.github/workflows/images.yaml b/templates/symfony-6/.github/workflows/images.yaml new file mode 120000 index 0000000..7e320eb --- /dev/null +++ b/templates/symfony-6/.github/workflows/images.yaml @@ -0,0 +1 @@ +../../../../github/workflows/images.yaml \ No newline at end of file