From 5907ec0f7bd6578fa5c9b8b7109ff1dcf85bb812 Mon Sep 17 00:00:00 2001 From: cedb Date: Wed, 2 Nov 2022 18:34:11 -0400 Subject: [PATCH] Remove docker-build from ci.yml --- .github/workflows/ci.yml | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c26f2c4a..5a1fd42a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,42 +48,3 @@ jobs: with: name: signal-cli-native path: build/native/nativeCompile/signal-cli - - build-docker: - - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Set up JDK - uses: actions/setup-java@v3 - with: - distribution: 'adopt' - java-version: '17' - cache: 'gradle' - - - name: Build with Gradle - run: ./gradlew --no-daemon build - - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Get current version from gradle - run: echo "APP_VERSION=$(./gradlew --no-daemon properties -q | grep "version:" | awk '{print $2}')" >> $GITHUB_ENV - - - name: Build and push - uses: docker/build-push-action@v3 - with: - context: . - push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/signal-cli:latest, ${{ secrets.DOCKERHUB_USERNAME }}/signal-cli:${{ env.APP_VERSION }} \ No newline at end of file