Push the container image to registry
This commit is contained in:
parent
7667cf9792
commit
434e589411
|
@ -16,10 +16,12 @@ jobs:
|
|||
path: _site/
|
||||
build_and_push_container:
|
||||
runs-on: docker
|
||||
env:
|
||||
REGISTRY_OWNER: fleg
|
||||
container:
|
||||
image: git.hswro.org/fleg/hswro_org_build:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
- run: cd .. && find
|
||||
- run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest
|
||||
- run: echo $GITHUB_TOKEN | buildah login -u $REGISTRY_OWNER --password-stdin git.hswro.org && buildah push hswro-org:latest git.hswro.org/$REGISTRY_OWNER/hswro-org:latest
|
||||
|
|
Loading…
Reference in New Issue