Merge branch 'main' of git.ocjtech.us:jeff/docker-healthchecks
This commit is contained in:
commit
3f502f1c45
1 changed files with 0 additions and 44 deletions
|
@ -1,44 +0,0 @@
|
||||||
name: build healthchecks
|
|
||||||
on:
|
|
||||||
- push
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: nixos-nix-latest
|
|
||||||
# env:
|
|
||||||
# REGISTRY: https://git.ocjtech.us/jeff
|
|
||||||
# USERNAME: ${{ env.GITHUB_ACTOR }}
|
|
||||||
# PASSWORD: ${{ env.GITHUB_TOKEN }}
|
|
||||||
steps:
|
|
||||||
- run: set
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
# - run: echo -n "${GITHUB_TOKEN}" | docker login --username "${GITHUB_ACTOR}" --password-stdin "${REGISTRY}"
|
|
||||||
- run: nix build -L .#webserver
|
|
||||||
- run: docker-push-container result --repository healthchecks/webserver
|
|
||||||
- run: nix build -L .#smtpd
|
|
||||||
- run: docker-push-container result --repository healthchecks/smtpd
|
|
||||||
- run: nix build -L .#sendalerts
|
|
||||||
- run: docker-push-container result --repository healthchecks/sendalerts
|
|
||||||
- run: nix build -L .#sendreports
|
|
||||||
- run: docker-push-container result --repository healthchecks/sendreports
|
|
||||||
- run: nix build -L .#maintenance
|
|
||||||
- run: docker-push-container result --repository healthchecks/maintenance
|
|
||||||
- run: nix build -L .#migrate
|
|
||||||
- run: docker-push-container result --repository healthchecks/migrate
|
|
||||||
- run: nix build -L .#static
|
|
||||||
- run: docker-push-container result --repository healthchecks/static
|
|
||||||
|
|
||||||
# - run: nix build -L .#default
|
|
||||||
# - run: echo -n "${PASSWORD}" | podman login --username "${USERNAME}" --password-stdin "${REGISTRY}"
|
|
||||||
# - run: podman load --input result | sed -n -e "s/Loaded image:.\\(.*\\)/loaded-image=\\1/p" >> $GITHUB_OUTPUT
|
|
||||||
# id: podman-load-image
|
|
||||||
# - run: podman images
|
|
||||||
# - run: podman tag "${IMAGE}" "${REGISTRY}/${REPOSITORY}:${GITHUB_RUN_NUMBER}-${GITHUB_SHA:0:8}"
|
|
||||||
# env:
|
|
||||||
# IMAGE: ${{ steps.podman-load-image.outputs.loaded-image }}
|
|
||||||
# - run: podman tag "${IMAGE}" "${REGISTRY}/${REPOSITORY}:latest"
|
|
||||||
# env:
|
|
||||||
# IMAGE: ${{ steps.podman-load-image.outputs.loaded-image }}
|
|
||||||
# - run: podman images
|
|
||||||
# - run: podman push "${REGISTRY}/${REPOSITORY}:${GITHUB_RUN_NUMBER}-${GITHUB_SHA:0:8}"
|
|
||||||
# - run: podman push "${REGISTRY}/${REPOSITORY}:latest"
|
|
||||||
# - run: podman logout "${REGISTRY}"
|
|
Loading…
Reference in a new issue