Skip to content

Commit

Permalink
ci: start building from the canonical fork
Browse files Browse the repository at this point in the history
  • Loading branch information
nsklikas committed Apr 23, 2024
1 parent 7021336 commit 6e4bc6b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/push_any.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches-ignore:
- "main"
- "track/**"
paths:
- "rockcraft.yaml"
- ".github/workflows/**.yaml"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/push_main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Push (main)
name: Push (main|track)

# When pushing to the "main" branch, we:
# * build the rock image
Expand All @@ -9,6 +9,7 @@ on:
push:
branches:
- main
- track/**
paths:
- "rockcraft.yaml"
- ".github/workflows/**.yaml"
Expand Down
7 changes: 4 additions & 3 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: hydra
base: bare
build-base: [email protected]
version: "2.2.0"
version: "2.2.0-canonical"
summary: Ory Hydra
description: |
Ory Hydra is a hardened and certified OAuth 2.0 and OpenID Connect provider.
Expand Down Expand Up @@ -54,6 +54,7 @@ parts:
export CGO_ENABLED=0
go mod download all
go build -ldflags="${go_linker_flags}" -o "${CRAFT_PART_INSTALL}"/bin/hydra
source: https://github.com/ory/hydra
source: https://github.com/canonical/hydra
source-type: git
source-tag: v2.2.0
# TODO: use tag once we release a version
source-branch: canonical

0 comments on commit 6e4bc6b

Please sign in to comment.