🚧 github: Add metadata action

test/github-actions
Gerber, Mike 2 years ago
parent 7256500468
commit a3c193043b

@ -30,6 +30,7 @@ jobs:
subimage: ${{ matrix.subimage }} subimage: ${{ matrix.subimage }}
secrets: inherit secrets: inherit
test: test:
needs: build-rest needs: build-rest
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -49,3 +50,21 @@ jobs:
run: | run: |
ocrd --version ocrd --version
ocrd-dinglehopper --version ocrd-dinglehopper --version
# At this point, we have successfully built, uploaded and tested the images. We now just need to add
# tags.
tag:
needs: test
runs-on: ubuntu-latest
steps:
-
name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: |
name/app
tags: |
type=ref,event=branch

Loading…
Cancel
Save