From 8d61741f4788a32611e8a44fa5093ea33b56f169 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sun, 27 Aug 2023 14:59:41 -0500 Subject: [PATCH] test docker --- .forgejo/workflows/build.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 37f5924..8ea0a40 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -6,26 +6,26 @@ jobs: runs-on: nixos-nix-latest env: REGISTRY: https://git.ocjtech.us/jeff - # REPOSITORY: ${{ secrets.DOCKER_REPOSITORY }} - # USERNAME: ${{ secrets.DOCKER_USERNAME }} - # PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + USERNAME: ${{ env.GITHUB_ACTOR }} + PASSWORD: ${{ env.GITHUB_TOKEN }} steps: - run: set - uses: actions/checkout@v3 + - run: echo -n "${PASSWORD}" | docker login --username "${USERNAME}" --password-stdin "${REGISTRY}" - run: nix build -L .#webserver - - run: push-container result --repository healthchecks/webserver + # - run: push-container result --repository healthchecks/webserver - run: nix build -L .#smtpd - - run: push-container result --repository healthchecks/smtpd + # - run: push-container result --repository healthchecks/smtpd - run: nix build -L .#sendalerts - - run: push-container result --repository healthchecks/sendalerts + # - run: push-container result --repository healthchecks/sendalerts - run: nix build -L .#sendreports - - run: push-container result --repository healthchecks/sendreports + # - run: push-container result --repository healthchecks/sendreports - run: nix build -L .#maintenance - - run: push-container result --repository healthchecks/maintenance + # - run: push-container result --repository healthchecks/maintenance - run: nix build -L .#migrate - - run: push-container result --repository healthchecks/migrate + # - run: push-container result --repository healthchecks/migrate - run: nix build -L .#static - - run: push-container result --repository healthchecks/static + # - run: push-container result --repository healthchecks/static # - run: nix build -L .#default # - run: echo -n "${PASSWORD}" | podman login --username "${USERNAME}" --password-stdin "${REGISTRY}"