Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
npepinpe committed Aug 5, 2022
1 parent 385fe68 commit 12111c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
13 changes: 2 additions & 11 deletions .github/actions/build-docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# If no version is given, the version is set to the Maven project version.
#
# If verify is true, then the image will be checked using
# This action does NOT work on self-hosted runners unless they have buildx already set up. See
# https://github.com/docker/setup-buildx-action for more

---
name: Build Docker Image
Expand All @@ -26,10 +27,6 @@ inputs:
description: 'If true, will push the image'
required: false
default: 'false'
verify:
description: 'If true, verifies the image that was built before pushing'
required: false
default: 'false'

outputs:
image:
Expand All @@ -45,12 +42,6 @@ outputs:
runs:
using: composite
steps:
# While not required on GitHub hosted runners, setting up QEMU and buildx is required
# on self-hosted runners for now.
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- uses: actions/setup-java@v3.4.1
with:
distribution: 'temurin'
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@ jobs:
maven-version: 3.8.5
- uses: ./.github/actions/use-ci-nexus-cache
- run: mvn -B -DskipChecks -DskipTests install
- uses: ./.github/actions/build-docker
id: build-docker
with:
repository: localhost:5000/camunda/zeebe
version: current-test
push: true
- run: docker build --build-arg DISTBALL=dist/target/camunda-zeebe-*.tar.gz --build-arg APP_ENV=dev -t "${ZEEBE_TEST_DOCKER_IMAGE}" .
- run: docker push "${ZEEBE_TEST_DOCKER_IMAGE}"
- name: Prepare Testcontainers Cloud agent
if: env.TC_CLOUD_TOKEN != ''
run: |
Expand Down

0 comments on commit 12111c3

Please sign in to comment.