Skip to content

Commit

Permalink
Update maven-make-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lindvarl authored Jun 28, 2024
1 parent 59a5760 commit 64482e1
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/maven-make-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,23 @@ jobs:
"password": "${{ secrets.PUBLIC_SCHEMA_TOKEN }}"
}]
#- name: Build, test and package
# run: ./mvnw -B clean test compile
- name: Build, test and package
run: ./mvnw -B clean test compile

- uses: docker/setup-buildx-action@v3.3.0
id: buildx
with:
install: true

#- name: Docker ${{inputs.DOCKER_REGISTRY}}/${{inputs.IMAGE_NAME}}:${{ inputs.IMAGE_TAG }}
# run: |
# cd das-producer
# docker buildx build --platform linux/amd64,linux/arm64 . -f das-producer/Dockerfile -t ${{inputs.DOCKER_REGISTRY}}/${{inputs.IMAGE_NAME}}:${{ inputs.IMAGE_TAG }} --push
- name: Docker ${{inputs.DOCKER_REGISTRY}}/${{inputs.IMAGE_NAME}}:${{ inputs.IMAGE_TAG }}
run: |
docker buildx build --platform linux/amd64,linux/arm64 . -f das-producer/Dockerfile -t ${{inputs.DOCKER_REGISTRY}}/${{inputs.IMAGE_NAME}}:${{ inputs.IMAGE_TAG }} --push
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: das-producer/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{inputs.DOCKER_REGISTRY}}/${{inputs.IMAGE_NAME}}:${{ inputs.IMAGE_TAG }}
#- name: Build and push
# uses: docker/build-push-action@v6
# with:
# context: .
# file: das-producer/Dockerfile
# platforms: linux/amd64,linux/arm64
# push: true
# tags: ${{inputs.DOCKER_REGISTRY}}/${{inputs.IMAGE_NAME}}:${{ inputs.IMAGE_TAG }}

0 comments on commit 64482e1

Please sign in to comment.