Skip to content

Commit

Permalink
build: push image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jashandeep-sohi committed Dec 23, 2023
1 parent bba7ec8 commit 01a04c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
};

packages.container = with inputs'.nix2container.packages; nix2container.buildImage {
name = "webcam-filter";
name = "webcam-filters";
tag = "latest";
config = {
entrypoint = [
Expand Down

0 comments on commit 01a04c6

Please sign in to comment.