docker-healthchecks/.forgejo/workflows/build.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 14: cannot unmarshal !!str `nix bui...` into model.Step line 15: cannot unmarshal !!str `push-co...` into model.Step line 16: cannot unmarshal !!str `nix bui...` into model.Step line 17: cannot unmarshal !!str `push-co...` into model.Step line 18: cannot unmarshal !!str `nix bui...` into model.Step line 19: cannot unmarshal !!str `push-co...` into model.Step line 20: cannot unmarshal !!str `nix bui...` into model.Step line 21: cannot unmarshal !!str `push-co...` into model.Step line 22: cannot unmarshal !!str `nix bui...` into model.Step line 23: cannot unmarshal !!str `push-co...` into model.Step line 24: cannot unmarshal !!str `nix bui...` into model.Step line 25: cannot unmarshal !!str `push-co...` into model.Step line 26: cannot unmarshal !!str `nix bui...` into model.Step line 27: cannot unmarshal !!str `push-co...` into model.Step
Jeffrey C. Ollie 09198b2653
All checks were successful
continuous-integration/drone/push Build is passing
add forgejo action
2023-08-27 11:26:08 -05:00

43 lines
1.9 KiB
YAML

name: build healthchecks
on:
- push
jobs:
build:
runs-on: nixos-nix-latest
# env:
# REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
# REPOSITORY: ${{ secrets.DOCKER_REPOSITORY }}
# USERNAME: ${{ secrets.DOCKER_USERNAME }}
# PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
steps:
- uses: actions/checkout@v3
- nix build -L .#webserver
- push-container result --repository healthchecks/webserver
- nix build -L .#smtpd
- push-container result --repository healthchecks/smtpd
- nix build -L .#sendalerts
- push-container result --repository healthchecks/sendalerts
- nix build -L .#sendreports
- push-container result --repository healthchecks/sendreports
- nix build -L .#maintenance
- push-container result --repository healthchecks/maintenance
- nix build -L .#migrate
- push-container result --repository healthchecks/migrate
- nix build -L .#static
- 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}"