Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/action-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Action Lint

on:
pull_request:

permissions:
checks: write
contents: read
pull-requests: write

jobs:
action-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: actionlint
uses: reviewdog/action-actionlint@v1.65.2
with:
github_token: ${{ secrets.GH_PAT }}
reporter: github-pr-review
61 changes: 61 additions & 0 deletions .github/workflows/bad.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Build and push artifacts

on:
push:
tags:
- 'v*'

permissions:
contents: write
pull-requests: write

jobs:
Artifactory_Login:
uses: MapColonies/shared-workflows/actions/artifactory-login@artifactory-login-v1.0.0
with:
registry: ACR_URL
username: ACR_PUSH_USER
password: ACR_PUSH_TOKEN

Build_Docker_Image:
uses: MapColonies/shared-workflows/actions/build-docker@build-docker-v1.1.0
with:
# for example
# domain: infra
domain: YOUR-DOMAIN
registry: ACR_URL

Push_Docker_Image:
uses: MapColonies/shared-workflows/actions/push-docker@push-docker-v1.0.1
with:
# for example
# image_name: scaler
# image_tag: v1.0.0
image_name: DOCKER_IMAGE_NAME
image_tag: DOCKER_IMAGE_TAG


Build_and_Push_Helm_Chart:
uses: MapColonies/shared-workflows/actions/build-and-push-helm@build-and-push-helm-v1.0.1
with:
# for example
# context: ./infra/monitoring
# domain: infra
context: YOUR-PATH
domain: YOUR-DOMAIN
registry: ACR_URL

update_artifacts_file:
uses: MapColonies/shared-workflows/actions/update-artifacts-file@update-artifacts-file-v1.1.1
with:
# Example:
# domain: infra
# artifact_name: sftpgo
# artifact_tag: v1.2.3
# type: docker
domain: YOUR-DOMAIN
artifact_name: ARTIFACT_NAME
artifact_tag: ARTIFACT_TAG
type: ARTIFACT_TYPE
registry: ACR_URL
github_token: YOUR_GITHUB_TOKEN