Skip to content

Commit

Permalink
Merge pull request #1990 from opengovern/dev
Browse files Browse the repository at this point in the history
feat: change migrator name
  • Loading branch information
mohamadch91 authored Nov 14, 2024
2 parents c525234 + f748ef6 commit 334e47f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
describe-scheduler: ${{ steps.build_services.outputs.describe-scheduler }}
inventory-service: ${{ steps.build_services.outputs.inventory-service }}
metadata-service: ${{ steps.build_services.outputs.metadata-service }}
migrator-worker: ${{ steps.build_services.outputs.migrator-worker }}
post-install-worker: ${{ steps.build_services.outputs.post-install-worker }}
swagger-ui: ${{ steps.build_services.outputs.swagger-ui }}
analytics-worker: ${{ steps.build_services.outputs.analytics-worker }}
steampipe-plugin-opengovernance: ${{ steps.build_services.outputs.steampipe-plugin-opengovernance }}
Expand Down Expand Up @@ -562,7 +562,7 @@ jobs:
file: docker/MetadataServiceDockerfile
context: .

deploy-migrator-worker:
deploy-post-install-worker:
runs-on: ubuntu-latest
needs:
- build
Expand All @@ -571,7 +571,7 @@ jobs:
id-token: write
contents: read
environment: docker
if: needs.build.outputs.migrator-worker == 'true' && github.event_name != 'pull_request'
if: needs.build.outputs.post-install-worker == 'true' && github.event_name != 'pull_request'
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -594,8 +594,8 @@ jobs:
with:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/migrator:${{ needs.tag.outputs.latest_tag }}
file: docker/MigratorDockerfile
ghcr.io/${{ github.repository_owner }}/post-install:${{ needs.tag.outputs.latest_tag }}
file: docker/PostInstallDockerfile
context: .
deploy-swagger-ui:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions docker/MigratorDockerfile → docker/PostInstallDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ RUN apk --no-cache add ca-certificates

FROM scratch
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY ./build/migrator-worker /
CMD [ "/migrator-worker" ]
COPY ./build/post-install-worker /
CMD [ "/post-install-worker" ]

0 comments on commit 334e47f

Please sign in to comment.