Push the container image to registry
This commit is contained in:
parent
7667cf9792
commit
413fdb8aab
|
@ -16,10 +16,12 @@ jobs:
|
||||||
path: _site/
|
path: _site/
|
||||||
build_and_push_container:
|
build_and_push_container:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
env:
|
||||||
|
REGISTRY_OWNER: fleg
|
||||||
container:
|
container:
|
||||||
image: git.hswro.org/fleg/hswro_org_build:latest
|
image: git.hswro.org/fleg/hswro_org_build:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
- run: cd .. && find
|
|
||||||
- run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest
|
- run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest
|
||||||
|
- run: buildah push --creds ${REGISTRY_OWNER}:${{ secrets.PUSH_PACHAGES_KEY }} hswro-org:latest "git.hswro.org/${REGISTRY_OWNER}/hswro-_rg:latest"
|
||||||
|
|
Loading…
Reference in New Issue