TEST COMMIT FOR CI
/ build_website (push) Successful in 6s Details
/ build_and_push_container (push) Successful in 9s Details

This commit is contained in:
Michał Rudowicz 2025-03-22 17:49:42 +01:00
parent 57f1931135
commit 214a1db916
1 changed files with 2 additions and 3 deletions

View File

@ -8,13 +8,13 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: bundle exec jekyll build - run: bundle exec jekyll build
- run: cd _site/ && find
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: generated-site name: generated-site
path: _site/ path: _site/
build_and_push_container: build_and_push_container:
runs-on: docker runs-on: docker
if: github.ref == 'refs/heads/main'
env: env:
REGISTRY_OWNER: hswro REGISTRY_OWNER: hswro
container: container:
@ -22,5 +22,4 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
- run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest - run: cd generated-site && find && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest
- run: buildah push --creds ${REGISTRY_OWNER}:${{ secrets.PUSH_PACKAGES_KEY }} hswro-org:latest "docker://git.hswro.org/${REGISTRY_OWNER}/hswro_org:latest"