-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automate the adaptor release to Dockerhub process (#192)
* Rename dockers folder to docker to be consistent with other adaptors This will be required when using the release-adaptor-container-image GitHub Actions workflow as it assumes the folder is called docker. * Move adaptor Dockerfiles into the docker folder This consolidates Dockerfiles into one place, keeping this adaptor directory layout consistent with other adaptors. This also allows us to use the release-adaptor-container-image GitHub Actions shared workflow. * Automate the adaptor release to Dockerhub process This should speed up and simplify the process of releasing
- Loading branch information
1 parent
94a6433
commit d32b0a9
Showing
23 changed files
with
28 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
on: | ||
push: | ||
tags: "*" | ||
|
||
jobs: | ||
push_to_dockerhub: | ||
strategy: | ||
matrix: | ||
image: | ||
- {folder: spineroutelookup, dockerhub_name: nia-mhs-route} | ||
- {folder: outbound, dockerhub_name: nia-mhs-outbound} | ||
- {folder: inbound, dockerhub_name: nia-mhs-inbound} | ||
uses: NHSDigital/integration-adaptor-actions/.github/workflows/release-adaptor-container-image.yml@main | ||
with: | ||
dockerhub_name: ${{matrix.image.dockerhub_name}} | ||
folder: ${{matrix.image.folder}} | ||
|
||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
set -e | ||
BUILD_TAG="${BUILD_TAG:-latest}" | ||
docker build -t local/mhs-inbound:${BUILD_TAG} -f mhs/inbound/Dockerfile . | ||
docker build -t local/mhs-outbound:${BUILD_TAG} -f mhs/outbound/Dockerfile . | ||
docker build -t local/mhs-route:${BUILD_TAG} -f mhs/spineroutelookup/Dockerfile . | ||
docker build -t local/mhs-inbound:${BUILD_TAG} -f docker/inbound/Dockerfile . | ||
docker build -t local/mhs-outbound:${BUILD_TAG} -f docker/outbound/Dockerfile . | ||
docker build -t local/mhs-route:${BUILD_TAG} -f docker/spineroutelookup/Dockerfile . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.