Skip to content

Commit

Permalink
Merge pull request #4 from Sanketika-Obsrv/cicd
Browse files Browse the repository at this point in the history
Add environment to github actions
  • Loading branch information
manjudr authored Mar 31, 2023
2 parents c980b6f + 8db360b commit bbbbd36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build_and_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
needs: [check-tag, docker-build]
if: needs.check-tag.outputs.ALLOWED_TAG == 'True' && vars.CLOUD_PROVIDER == 'aws'
runs-on: ubuntu-latest
environment: aws-dev
steps:
- name: Clone the terraform deployment repo
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM --platform=linux/x86_64 maven:3.6.0-jdk-11-slim AS build
COPY . /app
RUN mvn -f /app/pom.xml clean package -DskipTests

FROM --platform=linux/x86_64 sunbird/flink:1.13.5-scala_2.12-java11
FROM --platform=linux/x86_64 sanketikahub/flink:1.15.2-scala_2.12-java11
USER flink
COPY --from=build /app/dataset-registry/target/dataset-registry-1.0.0.jar $FLINK_HOME/lib/
COPY --from=build /app/framework/target/framework-1.0.0.jar $FLINK_HOME/lib/
Expand Down

0 comments on commit bbbbd36

Please sign in to comment.