Skip to content

Commit

Permalink
Merge pull request #817 from anuruddhal/master
Browse files Browse the repository at this point in the history
Fix parameter name
  • Loading branch information
anuruddhal authored Nov 13, 2024
2 parents fd4a733 + 99a07ae commit 72f43d5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/generate-base-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,36 +194,36 @@ jobs:

- name: Build and push only major.minor.patch tag
if: ${{ steps.tag-gen.outputs.GENERATE_ONLY_ONE_TAG == 1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: ./docker-images/base-image/Dockerfile
push: true
platform: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64
tags: |
${{ steps.tag-gen.outputs.DOCKER_HUB_NAME }}/jvm-runtime:${{ steps.tag-gen.outputs.TAG }}
${{ secrets.DOCKER_ACR_NAME }}.azurecr.io/ballerina/jvm-runtime:${{ steps.tag-gen.outputs.TAG }}
- name: Build and push only major.minor.patch, major.minor
if: ${{ steps.tag-gen.outputs.GENERATE_ONLY_TWO_TAG == 1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: ./docker-images/base-image/Dockerfile
push: true
platform: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64
tags: |
${{ steps.tag-gen.outputs.DOCKER_HUB_NAME }}/jvm-runtime:${{ steps.tag-gen.outputs.TAG }}
${{ steps.tag-gen.outputs.DOCKER_HUB_NAME }}/jvm-runtime:${{ steps.tag-gen.outputs.MAJ_MIN_TAG }}
${{ secrets.DOCKER_ACR_NAME }}.azurecr.io/ballerina/jvm-runtime:${{ steps.tag-gen.outputs.TAG }}
${{ secrets.DOCKER_ACR_NAME }}.azurecr.io/ballerina/jvm-runtime:${{ steps.tag-gen.outputs.MAJ_MIN_TAG }}
- name: Build and push only major.minor.patch, major.minor, major
if: ${{ steps.tag-gen.outputs.GENERATE_ONLY_THREE_TAG == 1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: ./docker-images/base-image/Dockerfile
platform: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ steps.tag-gen.outputs.DOCKER_HUB_NAME }}/jvm-runtime:${{ steps.tag-gen.outputs.TAG }}
Expand All @@ -234,12 +234,12 @@ jobs:
${{ secrets.DOCKER_ACR_NAME }}.azurecr.io/ballerina/jvm-runtime:${{ steps.tag-gen.outputs.MAJ_TAG}}
- name: Build and push only major.minor.patch, major.minor, major, latest
if: ${{ steps.tag-gen.outputs.GENERATE_ONLY_FOUR_TAG == 1 }}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: ./docker-images/base-image/Dockerfile
push: true
platform: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64
tags: |
${{ steps.tag-gen.outputs.DOCKER_HUB_NAME }}/jvm-runtime:${{ steps.tag-gen.outputs.TAG }}
${{ steps.tag-gen.outputs.DOCKER_HUB_NAME }}/jvm-runtime:${{ steps.tag-gen.outputs.MAJ_MIN_TAG }}
Expand Down

0 comments on commit 72f43d5

Please sign in to comment.