Skip to content

fix http response codes closes #145 (#146) #63

fix http response codes closes #145 (#146)

fix http response codes closes #145 (#146) #63

Workflow file for this run

name: Build docker container
on:
push:
paths:
- backend/**
- flake.lock
- flake.nix
branches: [ master ]
release:
types: [published]
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
docker:
runs-on: ubuntu-latest
if: github.repository == 'ixhbinphoenix/bne'
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Login to docker
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run nix build and push docker container
run: |
nix build .
docker load -i result
docker push ghcr.io/ixhbinphoenix/bne:latest