Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 1 addition & 3 deletions .github/workflows/template_gitops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:

- name: GitOps (build, push and deploy a new Docker image)
id: gitops
uses: Staffbase/gitops-github-action@18bc4229b7841f5a29652e74244771ac3473771e # v7.3
uses: Staffbase/gitops-github-action@b703e70ebe1ec414353c9989ff6cf7414246ca9c # v7.4
with:
docker-registry: ${{ inputs.docker-registry }}
docker-username: ${{ secrets.docker-username }}
Expand Down Expand Up @@ -163,5 +163,3 @@ jobs:
upwind-client-secret: ${{ secrets.upwind-client-secret }}
upwind-organization-id: ${{ inputs.upwind-organization-id }}
working-directory: ${{ inputs.working-directory }}
create-deployment: ${{ inputs.create-deployment && 'true' || 'false' }}
github-token: ${{ inputs.create-deployment && github.token || '' }}
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ jobs:
uses: Staffbase/gha-workflows/.github/workflows/template_gitops.yml@4cc0088a9dc8b26090d7b943d181450829a28086 # v13.3.0
permissions:
contents: read
deployments: write # only required when create-deployment is true
with:
# optional: host of the docker registry, default: "registry.staffbase.com"
docker-registry: '<your-registry>'
Expand Down Expand Up @@ -285,8 +284,6 @@ jobs:
# optional: files which should be updated for prod
gitops-prod: |-
your files
# optional: create GitHub Deployments on the source repository and write tracking annotations to the GitOps CRs, default: false
create-deployment: true
# optional: defines the github runner for the gitops step if (e.g. ubuntu-24.04-arm for arm builds), default: ubuntu-24.04
runs-on: ubuntu-24.04-arm
# optional: Upwind.io client ID
Expand Down
Loading