diff --git a/.github/workflows/publish-docker-image.yml b/.github/workflows/publish-docker-image.yml index b169981..18a0eaa 100644 --- a/.github/workflows/publish-docker-image.yml +++ b/.github/workflows/publish-docker-image.yml @@ -30,6 +30,12 @@ jobs: extra_nix_config: | accept-flake-config = true + - uses: cachix/cachix-action@v12 + with: + name: sohi + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + skipAddingSubstituter: true + - name: Log into registry ${{ env.REGISTRY }} uses: docker/login-action@v3 with: @@ -56,4 +62,5 @@ jobs: run: | echo '${{ steps.meta.outputs.tags }}' | while IFS= read -r tag; do docker tag webcam-filters:latest $tag + docker push $tag done diff --git a/flake.nix b/flake.nix index edde4cd..2977002 100644 --- a/flake.nix +++ b/flake.nix @@ -35,7 +35,7 @@ }; packages.container = with inputs'.nix2container.packages; nix2container.buildImage { - name = "webcam-filter"; + name = "webcam-filters"; tag = "latest"; config = { entrypoint = [