From a8d7d4a85f5b0cf0cb3fe139c0acb61bd91d6dc0 Mon Sep 17 00:00:00 2001 From: Jay Ehsaniara Date: Tue, 13 Jul 2021 09:09:01 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20=F0=9F=8E=A8=20Update=20the=20RE?= =?UTF-8?q?ADME.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scs-101/mavenpublish.yml | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 scs-101/mavenpublish.yml diff --git a/scs-101/mavenpublish.yml b/scs-101/mavenpublish.yml deleted file mode 100644 index 1ea245c..0000000 --- a/scs-101/mavenpublish.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Java CI - -on: - push: - paths: - - 'scs-101/**' - branches: - - main - pull_request: - branches: - - main - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - name: Deploy to Github Package Registry - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - mvn -f scs-101/scs-101-commons deploy - - - name: Docker Build and Push - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - cd scs-101/scs-101-inventory-check - echo $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdin - docker build --build-arg GITHUB_TOKEN=$GITHUB_TOKEN -t ghcr.io/ehsaniara/scs-kafka-intro:scs-101-inventory-check-latest . - docker push ghcr.io/ehsaniara/scs-kafka-intro:scs-101-inventory-check-latest