Skip to content

Commit

Permalink
Update flake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BatteredBunny committed Jun 25, 2023
1 parent 0decaa0 commit 98b6d7f
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- name: checkout repo
uses: actions/checkout@v3
- name: install nix
uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix run .#docker.copyToRegistry
- 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.copyToRegistry

0 comments on commit 98b6d7f

Please sign in to comment.