1
0
Fork 0

Push the container image to registry

This commit is contained in:
Michał Rudowicz 2025-02-23 20:09:23 +01:00
parent 7667cf9792
commit af6bef013d
1 changed files with 3 additions and 1 deletions

View File

@ -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_org:latest"