From b7b8d7fda3e98e63a91dbc79e1bec379a1fff785 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 09:08:36 -0500 Subject: [PATCH 01/25] trying gradlew build docker image --- .github/workflows/build-gradle-project.yml | 15 +++++++++++++++ build.gradle | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build-gradle-project.yml diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml new file mode 100644 index 0000000..226d1f2 --- /dev/null +++ b/.github/workflows/build-gradle-project.yml @@ -0,0 +1,15 @@ +name: Build hydra-data docker image + +on: + push: + +jobs: + build-gradle-project: + runs-on: ubuntu-latest + steps: + - name: Checkout project sources + uses: actions/checkout@v3 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + - name: Run build with Gradle Wrapper + run: ./gradlew build docker \ No newline at end of file diff --git a/build.gradle b/build.gradle index de2b087..4faf4ce 100755 --- a/build.gradle +++ b/build.gradle @@ -57,7 +57,7 @@ task unpack(type: Copy) { } docker { - name "${project.group}/hydra-data:latest" + name "${project.group}/hydra-data:gradlew-build" copySpec.from(tasks.unpack.outputs).into("dependency") buildArgs(['DEPENDENCY': "dependency"]) } From da6930c5869c4ac4e9f2fedc49ca106e016a29f8 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 09:17:04 -0500 Subject: [PATCH 02/25] specify gradle version --- .github/workflows/build-gradle-project.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 226d1f2..5351949 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -11,5 +11,7 @@ jobs: uses: actions/checkout@v3 - name: Setup Gradle uses: gradle/gradle-build-action@v2 + with: + gradle-version: 8.5 - name: Run build with Gradle Wrapper run: ./gradlew build docker \ No newline at end of file From 6c1988f5a8ecd55b01107a9d78e004f4dc030ec1 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 09:31:08 -0500 Subject: [PATCH 03/25] pick specfic alpine version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8bfd1c2..1ea33df 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine +FROM alpine:3.19.1 RUN apk update && \ apk upgrade From 46c57ea983ad8774b5821c274e8c813a3499c543 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 09:36:05 -0500 Subject: [PATCH 04/25] specify java version --- .github/workflows/build-gradle-project.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 5351949..e4445db 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -9,6 +9,10 @@ jobs: steps: - name: Checkout project sources uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + java-version: '21' + distribution: 'oracle' - name: Setup Gradle uses: gradle/gradle-build-action@v2 with: From 6a580d88445d1163f2a77173b6aa30269d4f3847 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 09:40:01 -0500 Subject: [PATCH 05/25] push docker image to dockerhub --- .github/workflows/build-gradle-project.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index e4445db..d0d7370 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -2,6 +2,8 @@ name: Build hydra-data docker image on: push: + branches: + - KPMP-5100_build-image-with-gradle jobs: build-gradle-project: @@ -18,4 +20,6 @@ jobs: with: gradle-version: 8.5 - name: Run build with Gradle Wrapper - run: ./gradlew build docker \ No newline at end of file + run: | + ./gradlew build docker + docker push kingstonduo/hydra-data:github-actions-build \ No newline at end of file From d756bd7376e577ecd22594a31c7688cf89fad414 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 09:42:52 -0500 Subject: [PATCH 06/25] fix name --- .github/workflows/build-gradle-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index d0d7370..b8e12b9 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -22,4 +22,4 @@ jobs: - name: Run build with Gradle Wrapper run: | ./gradlew build docker - docker push kingstonduo/hydra-data:github-actions-build \ No newline at end of file + docker push kingstonduo/hydra-data:gradlew-build \ No newline at end of file From 349d79b651f694b909ac676e48fa7f6cb4951022 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 10:00:30 -0500 Subject: [PATCH 07/25] login to docker hub and pass in username and pass --- .github/workflows/build-gradle-project.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index b8e12b9..53e6402 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -19,6 +19,13 @@ jobs: uses: gradle/gradle-build-action@v2 with: gradle-version: 8.5 + + - name: Login to Docker Hub + uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a + with: + username: ${{ secrets.ENV_DOCKER_USER }} + password: ${{ secrets.ENV_DOCKER_PASS }} + - name: Run build with Gradle Wrapper run: | ./gradlew build docker From b4972b1eb5734b43c19061a0b7d6cfad7f747d02 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 10:41:01 -0500 Subject: [PATCH 08/25] add readme instructions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8d7cc6d..52b8231 100644 --- a/README.md +++ b/README.md @@ -41,3 +41,7 @@ If you have having troubles seeing changes during development, you can try to cl 4. SSH to the appropriate KE machine 5. Execute: `curl -X GET http://localhost:3050/api/v1/repository/load-search` + +# Pushing images to Docker +This repository is equipped to build and push an image to docker hub when pushing to this github repository. However, the image will be named whatever is specified in the `build.gradle` file. +So everytime a new branch is made, a new tag should be commited to distinguish between images on Docker Hub. From 786606100594027ad86e6359003bec7d1aca2172 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 10:41:19 -0500 Subject: [PATCH 09/25] remove branch specification --- .github/workflows/build-gradle-project.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 53e6402..31805f8 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -2,8 +2,6 @@ name: Build hydra-data docker image on: push: - branches: - - KPMP-5100_build-image-with-gradle jobs: build-gradle-project: From 109cb02ffb261b4b27fb920d1a8eadf58f26bc4a Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 10:42:20 -0500 Subject: [PATCH 10/25] change to pick out master and develop branchs --- .github/workflows/build-gradle-project.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 31805f8..6a0d090 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -2,6 +2,9 @@ name: Build hydra-data docker image on: push: + branches: + - develop + - master jobs: build-gradle-project: From 6961ad450c0c9f96351852f0e08c2f95a1858ff9 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 10:47:11 -0500 Subject: [PATCH 11/25] make instructions for docker image pushing --- .github/workflows/build-gradle-project.yml | 2 +- README.md | 3 +-- build.gradle | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 6a0d090..e736f0d 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -30,4 +30,4 @@ jobs: - name: Run build with Gradle Wrapper run: | ./gradlew build docker - docker push kingstonduo/hydra-data:gradlew-build \ No newline at end of file + docker push kingstonduo/hydra-data:latest \ No newline at end of file diff --git a/README.md b/README.md index 52b8231..7a878ba 100644 --- a/README.md +++ b/README.md @@ -43,5 +43,4 @@ If you have having troubles seeing changes during development, you can try to cl `curl -X GET http://localhost:3050/api/v1/repository/load-search` # Pushing images to Docker -This repository is equipped to build and push an image to docker hub when pushing to this github repository. However, the image will be named whatever is specified in the `build.gradle` file. -So everytime a new branch is made, a new tag should be commited to distinguish between images on Docker Hub. +This repository is equipped to build and push an image to docker hub when pushing/merging master or the develop branch. The image will be named whatever is specified in the `build.gradle` file. For the GitHub action to push the docker image, the image name MUST be identical between `build.gradle` and the workflow file found in `.github/workflows/build-gradle-project.yml` diff --git a/build.gradle b/build.gradle index 4faf4ce..de2b087 100755 --- a/build.gradle +++ b/build.gradle @@ -57,7 +57,7 @@ task unpack(type: Copy) { } docker { - name "${project.group}/hydra-data:gradlew-build" + name "${project.group}/hydra-data:latest" copySpec.from(tasks.unpack.outputs).into("dependency") buildArgs(['DEPENDENCY': "dependency"]) } From 0ae1ed41b10d4c5f982629cc8b51e396caa22e20 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:05:05 -0500 Subject: [PATCH 12/25] ignore develop and master branch pushes --- .github/workflows/build-gradle-project.yml | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index e736f0d..0791479 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -2,7 +2,7 @@ name: Build hydra-data docker image on: push: - branches: + branches-ignore: - develop - master @@ -10,24 +10,24 @@ jobs: build-gradle-project: runs-on: ubuntu-latest steps: - - name: Checkout project sources - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - java-version: '21' - distribution: 'oracle' - - name: Setup Gradle - uses: gradle/gradle-build-action@v2 - with: - gradle-version: 8.5 + - name: Checkout project sources + uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + java-version: '21' + distribution: 'oracle' + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + with: + gradle-version: 8.5 - - name: Login to Docker Hub - uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a - with: - username: ${{ secrets.ENV_DOCKER_USER }} - password: ${{ secrets.ENV_DOCKER_PASS }} + - name: Login to Docker Hub + uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a + with: + username: ${{ secrets.ENV_DOCKER_USER }} + password: ${{ secrets.ENV_DOCKER_PASS }} - - name: Run build with Gradle Wrapper - run: | - ./gradlew build docker - docker push kingstonduo/hydra-data:latest \ No newline at end of file + - name: Run build with Gradle Wrapper + run: | + ./gradlew build docker + docker push kingstonduo/hydra-data:latest \ No newline at end of file From 8b86d5582179ad75486687c66cf8c7583f5117e9 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:05:56 -0500 Subject: [PATCH 13/25] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a878ba..c252bc4 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,4 @@ If you have having troubles seeing changes during development, you can try to cl `curl -X GET http://localhost:3050/api/v1/repository/load-search` # Pushing images to Docker -This repository is equipped to build and push an image to docker hub when pushing/merging master or the develop branch. The image will be named whatever is specified in the `build.gradle` file. For the GitHub action to push the docker image, the image name MUST be identical between `build.gradle` and the workflow file found in `.github/workflows/build-gradle-project.yml` +This repository is equipped to build and push an image to docker hub when pushing to the repository (except for master and develop). The image will be named whatever is specified in the `build.gradle` file. For the GitHub action to push the docker image, the image name MUST be identical between `build.gradle` and the workflow file found in `.github/workflows/build-gradle-project.yml` From 73e0505f4b4647e75d5743f50cf1ba064ea69d39 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:16:53 -0500 Subject: [PATCH 14/25] trying to get branch name --- .github/workflows/build-gradle-project.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 0791479..2db6acc 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -10,6 +10,12 @@ jobs: build-gradle-project: runs-on: ubuntu-latest steps: + - name: Get branch name + id: branch-names + uses: tj-actions/branch-names@v8 + if: steps.branch-names.outputs.is_default == 'false' + run: | + echo "Running on branch: " ${{ steps.branch-names.outputs.current-branch }} - name: Checkout project sources uses: actions/checkout@v3 - uses: actions/setup-java@v3 From 0790f52883f421ac2d14c3afaf9f9b1e9bbccac1 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:18:32 -0500 Subject: [PATCH 15/25] fix syntax error --- .github/workflows/build-gradle-project.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 2db6acc..5531c70 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -10,12 +10,14 @@ jobs: build-gradle-project: runs-on: ubuntu-latest steps: - - name: Get branch name + - name: Get branch names id: branch-names uses: tj-actions/branch-names@v8 + + - name: Get current branch name if: steps.branch-names.outputs.is_default == 'false' run: | - echo "Running on branch: " ${{ steps.branch-names.outputs.current-branch }} + echo "Running on branch: " ${{ steps.branch-names.outputs.current-branch }} - name: Checkout project sources uses: actions/checkout@v3 - uses: actions/setup-java@v3 From a4457449871a4191c45371fc229ed8dac499c18d Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:19:40 -0500 Subject: [PATCH 16/25] put branch name in quotes --- .github/workflows/build-gradle-project.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 5531c70..dd73684 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -13,11 +13,11 @@ jobs: - name: Get branch names id: branch-names uses: tj-actions/branch-names@v8 - + - name: Get current branch name if: steps.branch-names.outputs.is_default == 'false' run: | - echo "Running on branch: " ${{ steps.branch-names.outputs.current-branch }} + echo "Running on branch: ${{ steps.branch-names.outputs.current_branch }}" - name: Checkout project sources uses: actions/checkout@v3 - uses: actions/setup-java@v3 From 7de23f7df5f916eef6741847fb58caee1bb5d4ae Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:21:19 -0500 Subject: [PATCH 17/25] pass in branch name to docker image --- .github/workflows/build-gradle-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index dd73684..efd1799 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -38,4 +38,4 @@ jobs: - name: Run build with Gradle Wrapper run: | ./gradlew build docker - docker push kingstonduo/hydra-data:latest \ No newline at end of file + "docker push kingstonduo/hydra-data:${{ steps.branch-names.outputs.current_branch }}" \ No newline at end of file From 4f607bd10519a8f6064767ff7d8d54ebc0a44e8c Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:37:10 -0500 Subject: [PATCH 18/25] implement build.gradle git branch name --- build.gradle | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index de2b087..92d28eb 100755 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,20 @@ plugins { group = 'kingstonduo' +def getCurrentGitBranch() { + def gitBranch = "Unknown branch" + try { + def workingDir = new File("${project.projectDir}") + def result = 'git rev-parse --abbrev-ref HEAD'.execute(null, workingDir) + result.waitFor() + if (result.exitValue() == 0) { + gitBranch = result.text.trim() + } + } catch (e) { + } + return gitBranch +} + apply plugin: 'java' apply plugin: 'eclipse' @@ -56,8 +70,11 @@ task unpack(type: Copy) { into("build/dependency") } + + + docker { - name "${project.group}/hydra-data:latest" + name "${project.group}/hydra-data:" + getCurrentGitBranch() copySpec.from(tasks.unpack.outputs).into("dependency") buildArgs(['DEPENDENCY': "dependency"]) } From 2a971446e9b4c392e1ca958b753d7e16e06f20c1 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:37:19 -0500 Subject: [PATCH 19/25] update instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c252bc4..e0e14ce 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,4 @@ If you have having troubles seeing changes during development, you can try to cl `curl -X GET http://localhost:3050/api/v1/repository/load-search` # Pushing images to Docker -This repository is equipped to build and push an image to docker hub when pushing to the repository (except for master and develop). The image will be named whatever is specified in the `build.gradle` file. For the GitHub action to push the docker image, the image name MUST be identical between `build.gradle` and the workflow file found in `.github/workflows/build-gradle-project.yml` +This repository is equipped to build and push an image to docker hub when pushing to the repository (except for master and develop). The image will be named `kingstonduo/hydra-data:` From 9dbf642bd78249d81be19be413c8c2dba0ddc682 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:39:04 -0500 Subject: [PATCH 20/25] move quotes --- .github/workflows/build-gradle-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index efd1799..8b3e3c2 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -38,4 +38,4 @@ jobs: - name: Run build with Gradle Wrapper run: | ./gradlew build docker - "docker push kingstonduo/hydra-data:${{ steps.branch-names.outputs.current_branch }}" \ No newline at end of file + docker push "kingstonduo/hydra-data:${{ steps.branch-names.outputs.current_branch }}" \ No newline at end of file From a0a79678ed3c33f122ef4fe83461b6aeeb122497 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:41:42 -0500 Subject: [PATCH 21/25] run job on pull request instead of push --- .github/workflows/build-gradle-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 8b3e3c2..473fe23 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -1,7 +1,7 @@ name: Build hydra-data docker image on: - push: + pull_request: branches-ignore: - develop - master From d4eefcf56dd2a7a644761a45e2f52f4f625d3416 Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:42:24 -0500 Subject: [PATCH 22/25] revert commit --- .github/workflows/build-gradle-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 473fe23..8b3e3c2 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -1,7 +1,7 @@ name: Build hydra-data docker image on: - pull_request: + push: branches-ignore: - develop - master From 85093dd11dc6e121b3f969637033906cc5a916cc Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:50:12 -0500 Subject: [PATCH 23/25] run job na push and pull request --- .github/workflows/build-gradle-project.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 8b3e3c2..29917d6 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -1,10 +1,11 @@ name: Build hydra-data docker image -on: +on: push: + pull_request: branches-ignore: - - develop - master + - develop jobs: build-gradle-project: From 1e33a4f13af70e630512ae448e827ee7bde18efc Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 11:56:35 -0500 Subject: [PATCH 24/25] remove master and develop branchs --- .github/workflows/build-gradle-project.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 29917d6..2b11e4e 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -3,9 +3,6 @@ name: Build hydra-data docker image on: push: pull_request: - branches-ignore: - - master - - develop jobs: build-gradle-project: From 556d1ccdcab77178a3d3b877af574fc7ae08ca1d Mon Sep 17 00:00:00 2001 From: Nathan Creger Date: Mon, 5 Feb 2024 12:29:36 -0500 Subject: [PATCH 25/25] remove pull_request --- .github/workflows/build-gradle-project.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-gradle-project.yml b/.github/workflows/build-gradle-project.yml index 2b11e4e..f253cc4 100644 --- a/.github/workflows/build-gradle-project.yml +++ b/.github/workflows/build-gradle-project.yml @@ -2,7 +2,6 @@ name: Build hydra-data docker image on: push: - pull_request: jobs: build-gradle-project: