From d2c1386aff1cbb76ee31bc70dbe9931531e25849 Mon Sep 17 00:00:00 2001 From: tommy Date: Mon, 12 Aug 2024 16:59:23 +0000 Subject: [PATCH] Update .forgejo/workflows/build.yaml --- .forgejo/workflows/build.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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