Skip to content

Commit

Permalink
feat: added docker publish
Browse files Browse the repository at this point in the history
  • Loading branch information
IliyanKostov9 committed Nov 22, 2024
1 parent edcdd1a commit 2c8b71b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Create and publish a Docker image

on:
push:
branches: ["release"]
branches: ["release/*"]

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -46,6 +46,6 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
git-hooks.hooks = {
# Common
markdownlint.enable = true;
actionlint.enable = true;
actionlint =
{
enable = true;
excludes = [ "docker-publish.yaml" ];
};
checkmake.enable = true;
prettier.enable = true;
# Nix
Expand Down

0 comments on commit 2c8b71b

Please sign in to comment.