1
0
Fork 0

Update .forgejo/workflows/build.yaml

This commit is contained in:
Tommy 2024-08-12 16:59:23 +00:00
parent 8b30150098
commit d2c1386aff
Signed by: Mooo[bot]
GPG key ID: CF3AFE4D5B62BB9A

View file

@ -20,3 +20,17 @@ jobs:
uses: https://github.com/DeterminateSystems/magic-nix-cache-action@v7
- name: Build release
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