diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index bdd98f2..8b7e993 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -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