mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-02-24 18:38:46 +01:00
ci: build & publish the container image too
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
b1a4d5bff8
commit
65cc8365d6
1 changed files with 21 additions and 0 deletions
|
@ -27,3 +27,24 @@ jobs:
|
||||||
with:
|
with:
|
||||||
logs: true
|
logs: true
|
||||||
package: iocaine
|
package: iocaine
|
||||||
|
|
||||||
|
- name: build the container image
|
||||||
|
uses: actions/nix/build@main
|
||||||
|
with:
|
||||||
|
logs: true
|
||||||
|
package: container-image
|
||||||
|
|
||||||
|
- name: load the container image into docker
|
||||||
|
run: |
|
||||||
|
docker load <result
|
||||||
|
|
||||||
|
- name: login to the container registry
|
||||||
|
uses: https://code.forgejo.org/docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: git.madhouse-project.org
|
||||||
|
username: algernon
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
run:
|
||||||
|
docker push git.madhouse-project.org/algernon/iocaine:latest
|
||||||
|
|
Loading…
Reference in a new issue