Skip to content

Commit 0d70fe4

Browse files
author
Janne Rönkkö
committed
Remove extract-metadata GHA action
The action is not used anymore -- it was only used when building Docker images for Docker Hub. For ACR the image names are passed as outputs from the workflow building Docker images.
1 parent c27ed4f commit 0d70fe4

3 files changed

Lines changed: 2 additions & 95 deletions

File tree

.github/workflows/test-extract-metadata-action.yml

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

README.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Tools which are commonly used by other JORE4 projects
1212
- [Reusable GitHub Workflows](#reusable-github-workflows)
1313
- [shared-build-and-publish-docker-image](#shared-build-and-publish-docker-image)
1414
- [Github Actions](#github-actions)
15-
- [extract-metadata](#extract-metadata)
1615
- [healthcheck](#healthcheck)
1716
- [setup-e2e-environment](#setup-e2e-environment)
1817
- [run-cypress-tests](#run-cypress-tests)
@@ -166,22 +165,6 @@ secrets:
166165
167166
## Github Actions
168167
169-
### extract-metadata
170-
171-
Extracts Github repository metadata in Docker Hub friendly format.
172-
173-
Example usage:
174-
175-
```
176-
steps:
177-
- uses: HSLdevcom/jore4-tools/github-actions/extract-metadata@extract-metadata-v1
178-
```
179-
180-
After calling this action defines following environment variables that are available in later steps:
181-
`BRANCH_NAME`: branch name, e.g. `main`. Should work also in pull requests unlike `GITHUB_HEAD_REF` that Github automatically provides.
182-
`IMAGE_NAME`: repository name in lowercase format, including organization. E.g. `hsldevcom/jore4-tools`. Can be used as docker image name.
183-
`COMMIT_ID`: commit details in format `<branch name>--<git commit hash>`. Can be used when tagging docker images.
184-
185168
### healthcheck
186169
187170
Runs a user-defined script to check whether a service is up and running
@@ -216,12 +199,9 @@ Parameters:
216199
Example usage:
217200

218201
```
219-
steps:
220-
- uses: HSLdevcom/jore4-tools/github-actions/extract-metadata@extract-metadata-v1
221-
222202
- uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v8
223203
with:
224-
ui_version: '${{ env.IMAGE_NAME }}:${{ env.COMMIT_ID }}'
204+
ui_version: 'docker.registry.example.org/jore4-ui:latest'
225205
```
226206

227207
```
@@ -251,12 +231,9 @@ steps:
251231
```
252232
253233
```
254-
steps:
255-
- uses: HSLdevcom/jore4-tools/github-actions/extract-metadata@extract-metadata-v1
256-
257234
- uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v8
258235
with:
259-
ui_version: '${{ env.IMAGE_NAME }}:${{ env.COMMIT_ID }}'
236+
ui_version: 'docker.registry.example.org/jore4-ui:latest'
260237

261238
- uses: HSLdevcom/jore4-tools/github-actions/run-cypress-tests@run-cypress-tests-v1
262239
with:

github-actions/extract-metadata/action.yml

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

0 commit comments

Comments
 (0)