Skip to content

Commit a5d7942

Browse files
author
Adrian Clay
authored
Replace release script with GitHub Actions workflow (#268)
Automating releases will make the process smoother, and less open to mistakes
1 parent 44cfa01 commit a5d7942

File tree

2 files changed

+18
-23
lines changed

2 files changed

+18
-23
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on:
2+
push:
3+
tags: "*"
4+
5+
jobs:
6+
push_to_dockerhub:
7+
name: "Push Docker Images to DockerHub"
8+
strategy:
9+
matrix:
10+
image:
11+
- {folder: service, dockerhub_name: nia-111-adaptor}
12+
- {folder: nginx, dockerhub_name: nia-111-nginx-adaptor}
13+
uses: NHSDigital/integration-adaptor-actions/.github/workflows/release-adaptor-container-image.yml@main
14+
with:
15+
dockerhub_name: ${{matrix.image.dockerhub_name}}
16+
folder: ${{matrix.image.folder}}
17+
18+
secrets: inherit

release-scripts/release.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)