Skip to content

Commit 9b8ba45

Browse files
committed
Replace release script with GitHub Actions workflow
Automating releases will make the process smoother, and less open to mistakes
1 parent ec2cb93 commit 9b8ba45

File tree

2 files changed

+17
-23
lines changed

2 files changed

+17
-23
lines changed

.github/workflows/release.yml

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

release-scripts/release.sh

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

0 commit comments

Comments
 (0)