Update .forgejo/workflows/build.yaml
This commit is contained in:
parent
8b30150098
commit
d2c1386aff
1 changed files with 14 additions and 0 deletions
|
@ -20,3 +20,17 @@ jobs:
|
||||||
uses: https://github.com/DeterminateSystems/magic-nix-cache-action@v7
|
uses: https://github.com/DeterminateSystems/magic-nix-cache-action@v7
|
||||||
- name: Build release
|
- name: Build release
|
||||||
run: nix build .#container --impure
|
run: nix build .#container --impure
|
||||||
|
- name: list
|
||||||
|
run: ls .
|
||||||
|
- name: push
|
||||||
|
run: docker load < result
|
||||||
|
- name: Login to Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: code.252.no
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name:
|
||||||
|
run: |
|
||||||
|
docker tag alertmanager-ntfy:1.0.0 code.252.no/tommy/alertmanager-ntfy:1.0.0
|
||||||
|
docker push alertmanager-ntfy:1.0.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue