Skip to content

Commit

Permalink
Merge pull request #1 from hutchic-org/chore/setup
Browse files Browse the repository at this point in the history
chore(setup): adjust the fork setting
  • Loading branch information
colinh-kong authored Dec 19, 2022
2 parents d7c2ec9 + da93aae commit e2405a8
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 74 deletions.
70 changes: 70 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
# These settings are synced to GitHub by https://probot.github.io/apps/settings/

repository:
# See https://docs.github.com/en/rest/reference/repos#update-a-repository for all available settings.

# The name of the repository. Changing this will rename the repository
# name: repo-name

# A short description of the repository that will show up on GitHub
# description: description of repo

# A URL with more information about the repository
# homepage: https://example.github.io/

# A comma-separated list of topics to set on the repository
# topics: github, probot

# Either `true` to make the repository private, or `false` to make it public.
private: false

# Either `true` to enable issues for this repository, `false` to disable them.
has_issues: false

# Either `true` to enable projects for this repository, or `false` to disable them.
# If projects are disabled for the organization, passing `true` will cause an API error.
has_projects: false

# Either `true` to enable the wiki for this repository, `false` to disable it.
has_wiki: false

# Either `true` to enable downloads for this repository, `false` to disable them.
has_downloads: true

# Updates the default branch for this repository.
default_branch: main

# Either `true` to allow squash-merging pull requests, or `false` to prevent
# squash-merging.
allow_squash_merge: true

# Either `true` to allow merging pull requests with a merge commit, or `false`
# to prevent merging pull requests with merge commits.
allow_merge_commit: false

# Either `true` to allow rebase-merging pull requests, or `false` to prevent
# rebase-merging.
allow_rebase_merge: true

# Either `true` to enable automatic deletion of branches on merge, or `false` to disable
delete_branch_on_merge: true

# Either `true` to enable automated security fixes, or `false` to disable
# automated security fixes.
enable_automated_security_fixes: true

# Either `true` to enable vulnerability alerts, or `false` to disable
# vulnerability alerts.
enable_vulnerability_alerts: true

branches:
- name: main
protection:
required_pull_request_reviews:
required_status_checks:
strict: true
contexts: [Build and Optionally Release]
enforce_admins:
required_linear_history: true
restrictions:
11 changes: 0 additions & 11 deletions .github/template-sync.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on: # yamllint disable-line rule:truthy
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
release:
name: Create Release
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/sync.yml

This file was deleted.

28 changes: 6 additions & 22 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,24 @@ target "apk" {
dockerfile = "Dockerfile.apk"
platforms = ["linux/amd64", "linux/arm64"]
tags = [
"kong/kong-build-tools:apk",
notequal("",TAG) ? "kong/kong-build-tools:apk-${TAG}": ""
"ghcr.io/hutchic-org/kong-build-tools-base-images:apk",
notequal("",TAG) ? "ghcr.io/hutchic-org/kong-build-tools-base-images:apk-${TAG}": ""
]
}

target "rpm" {
dockerfile = "Dockerfile.rpm"
platforms = ["linux/amd64", "linux/arm64"]
tags = [
"kong/kong-build-tools:rpm",
notequal("",TAG) ? "kong/kong-build-tools:rpm-${TAG}": ""
"ghcr.io/hutchic-org/kong-build-tools-base-images:rpm",
notequal("",TAG) ? "ghcr.io/hutchic-org/kong-build-tools-base-images:rpm-${TAG}": ""
]
}

target "deb" {
dockerfile = "Dockerfile.deb"
platforms = ["linux/amd64", "linux/arm64"]
tags = [ "kong/kong-build-tools:deb",
notequal("",TAG) ? "kong/kong-build-tools:deb-${TAG}": ""
]
}

target "deb-focal" {
dockerfile = "Dockerfile.deb-focal"
platforms = ["linux/amd64", "linux/arm64"]
tags = [ "kong/kong-build-tools:deb-focal",
notequal("",TAG) ? "kong/kong-build-tools:deb-focal-${TAG}": ""
]
}

target "rpm-8" {
dockerfile = "Dockerfile.rpm-8"
platforms = ["linux/amd64", "linux/arm64"]
tags = [ "kong/kong-build-tools:rpm-8",
notequal("",TAG) ? "kong/kong-build-tools:rpm-8-${TAG}": ""
tags = [ "ghcr.io/hutchic-org/kong-build-tools-base-images:deb",
notequal("",TAG) ? "ghcr.io/hutchic-org/kong-build-tools-base-images:deb-${TAG}": ""
]
}

0 comments on commit e2405a8

Please sign in to comment.