Push the container image to registry
This commit is contained in:
parent
7667cf9792
commit
5e72ba06c7
|
@ -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: buildah push --creds ${REGISTRY_OWNER}:${GITHUB_TOKEN} hswro-org:latest "git.hswro.org/${REGISTRY_OWNER}/hswro-org:latest"
|
||||
|
|
Loading…
Reference in New Issue