diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 410d07d..ca106ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,4 +10,4 @@ jobs: steps: - uses: actions/checkout@v4 - uses: cachix/install-nix-action@v27 - - run: nix develop . -c task ci-publish --GITHUB_USERNAME ${{ github.actor }} --GITHUB_PASSWORD ${{ secrets.GITHUB_TOKEN }} --GIT_TAG ${{ github.ref_name }} + - run: nix develop . -c task ci-publish GITHUB_USERNAME=${{ github.actor }} GITHUB_PASSWORD=${{ secrets.GITHUB_TOKEN }} GIT_TAG=${{ github.ref_name }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a14638d..4c4baac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,4 +12,4 @@ jobs: steps: - uses: actions/checkout@v4 - uses: cachix/install-nix-action@v27 - - run: nix develop . -c task ci -p + - run: nix develop . -c task --parallel ci diff --git a/Taskfile.yml b/Taskfile.yml index 581640b..393e583 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -6,14 +6,15 @@ tasks: cmds: - task: lint - task: test + - task: docker-inspect ci-publish: cmds: - task: lint - task: test - - task: docker + - task: docker-publish - docker: + docker-publish: requires: vars: - GITHUB_USERNAME @@ -29,6 +30,14 @@ tasks: docker-archive://$(nix build .#docker --print-out-paths) \ docker://ghcr.io/xsteadfastx/caddy-log-exporter:{{.GIT_TAG}} + docker-inspect: + cmds: + - | + {{.NIX_CMD_BASE}} \ + skopeo \ + inspect \ + docker-archive://$(nix build .#docker --print-out-paths) + lint: cmds: - |