use docker commands
Some checks failed
build healthchecks / build (push) Failing after 6m36s

This commit is contained in:
Jeffrey C. Ollie 2023-08-27 16:04:15 -05:00
parent d3ca7537c8
commit 1ef612140f
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -4,28 +4,28 @@ on:
jobs: jobs:
build: build:
runs-on: nixos-nix-latest runs-on: nixos-nix-latest
env: # env:
REGISTRY: https://git.ocjtech.us/jeff # REGISTRY: https://git.ocjtech.us/jeff
# USERNAME: ${{ env.GITHUB_ACTOR }} # USERNAME: ${{ env.GITHUB_ACTOR }}
# PASSWORD: ${{ env.GITHUB_TOKEN }} # PASSWORD: ${{ env.GITHUB_TOKEN }}
steps: steps:
- run: set - run: set
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: echo -n "${GITHUB_TOKEN}" | docker login --username "${GITHUB_ACTOR}" --password-stdin "${REGISTRY}" # - run: echo -n "${GITHUB_TOKEN}" | docker login --username "${GITHUB_ACTOR}" --password-stdin "${REGISTRY}"
- run: nix build -L .#webserver - run: nix build -L .#webserver
# - run: push-container result --repository healthchecks/webserver - run: docker-push-container result --repository healthchecks/webserver
- run: nix build -L .#smtpd - run: nix build -L .#smtpd
# - run: push-container result --repository healthchecks/smtpd - run: docker-push-container result --repository healthchecks/smtpd
- run: nix build -L .#sendalerts - run: nix build -L .#sendalerts
# - run: push-container result --repository healthchecks/sendalerts - run: docker-push-container result --repository healthchecks/sendalerts
- run: nix build -L .#sendreports - run: nix build -L .#sendreports
# - run: push-container result --repository healthchecks/sendreports - run: docker-push-container result --repository healthchecks/sendreports
- run: nix build -L .#maintenance - run: nix build -L .#maintenance
# - run: push-container result --repository healthchecks/maintenance - run: docker-push-container result --repository healthchecks/maintenance
- run: nix build -L .#migrate - run: nix build -L .#migrate
# - run: push-container result --repository healthchecks/migrate - run: docker-push-container result --repository healthchecks/migrate
- run: nix build -L .#static - run: nix build -L .#static
# - run: push-container result --repository healthchecks/static - run: docker-push-container result --repository healthchecks/static
# - run: nix build -L .#default # - run: nix build -L .#default
# - run: echo -n "${PASSWORD}" | podman login --username "${USERNAME}" --password-stdin "${REGISTRY}" # - run: echo -n "${PASSWORD}" | podman login --username "${USERNAME}" --password-stdin "${REGISTRY}"