Skip to content

Update flake.yml

Update flake.yml #4

Workflow file for this run

name: "Container build"
on:
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: install nix
uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Login to registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and push container
run: nix run .#docker.copyToDockerDaemon
- run: docker push ghcr.io/ayes-web/roblox-account-value-api:latest