Skip to content

Commit b07d561

Browse files
committed
feat: comment rego service on build
1 parent dde8bd5 commit b07d561

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

.github/workflows/go.yaml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -415,45 +415,45 @@ jobs:
415415
PLUGIN_REGISTRY=ghcr.io/opengovern
416416
context: .
417417

418-
deploy-rego-service:
419-
runs-on: ubuntu-latest
420-
needs:
421-
- build
422-
- tag
423-
- deploy-cloudql-plugin
424-
- deploy-cloudql
425-
permissions:
426-
id-token: write
427-
contents: read
428-
environment: docker
429-
if: (needs.build.outputs.cloudql == 'true' || needs.build.outputs.rego-service == 'true') && github.event_name != 'pull_request'
430-
steps:
431-
- name: Checkout code
432-
uses: actions/checkout@v4
433-
- name: Download artifact
434-
uses: actions/download-artifact@v4
435-
with:
436-
name: build
437-
path: .
438-
- name: Unpack artifact
439-
run: |
440-
tar -xvf build.tar.gz
441-
- name: Log in to the Container registry
442-
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
443-
with:
444-
registry: ghcr.io
445-
username: ${{ github.actor }}
446-
password: ${{ secrets.GHCR_PAT }}
447-
- name: Build and push Docker images
448-
uses: docker/build-push-action@v4
449-
with:
450-
push: true
451-
tags: |
452-
ghcr.io/${{ github.repository_owner }}/rego-service:${{ needs.tag.outputs.latest_tag }}
453-
file: docker/RegoServiceDockerfile
454-
build-args: |
455-
PLUGIN_REGISTRY=ghcr.io/opengovern
456-
context: .
418+
# deploy-rego-service:
419+
# runs-on: ubuntu-latest
420+
# needs:
421+
# - build
422+
# - tag
423+
# - deploy-cloudql-plugin
424+
# - deploy-cloudql
425+
# permissions:
426+
# id-token: write
427+
# contents: read
428+
# environment: docker
429+
# if: (needs.build.outputs.cloudql == 'true' || needs.build.outputs.rego-service == 'true') && github.event_name != 'pull_request'
430+
# steps:
431+
# - name: Checkout code
432+
# uses: actions/checkout@v4
433+
# - name: Download artifact
434+
# uses: actions/download-artifact@v4
435+
# with:
436+
# name: build
437+
# path: .
438+
# - name: Unpack artifact
439+
# run: |
440+
# tar -xvf build.tar.gz
441+
# - name: Log in to the Container registry
442+
# uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
443+
# with:
444+
# registry: ghcr.io
445+
# username: ${{ github.actor }}
446+
# password: ${{ secrets.GHCR_PAT }}
447+
# - name: Build and push Docker images
448+
# uses: docker/build-push-action@v4
449+
# with:
450+
# push: true
451+
# tags: |
452+
# ghcr.io/${{ github.repository_owner }}/rego-service:${{ needs.tag.outputs.latest_tag }}
453+
# file: docker/RegoServiceDockerfile
454+
# build-args: |
455+
# PLUGIN_REGISTRY=ghcr.io/opengovern
456+
# context: .
457457

458458
deploy-compliance-summarizer-job:
459459
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)