Skip to content

Commit

Permalink
Fix workflow issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpotts committed Jan 9, 2024
1 parent 502f518 commit 9a39b70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/babelfish-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,13 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build and Push Docker image (x64)
- name: Build and Push Docker image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
tags: |
jonathanpotts/babelfishpg:${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
jonathanpotts/babelfishpg:latest
build-args:
BABELFISH_VERSION=${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
push: true

- name: Build and Push Docker image (ARM64)
uses: docker/build-push-action@v5
with:
platforms: linux/arm64/v8
tags: |
jonathanpotts/babelfishpg:${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
jonathanpotts/babelfishpg:latest
build-args:
BABELFISH_VERSION=${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
push: true
15 changes: 2 additions & 13 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,13 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build and Push Docker image (x64)
- name: Build and Push Docker image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
tags: |
jonathanpotts/babelfishpg:${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
jonathanpotts/babelfishpg:latest
build-args:
BABELFISH_VERSION=${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
push: true

- name: Build and Push Docker image (ARM64)
uses: docker/build-push-action@v5
with:
platforms: linux/arm64/v8
tags: |
jonathanpotts/babelfishpg:${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
jonathanpotts/babelfishpg:latest
build-args:
BABELFISH_VERSION=${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
push: true

0 comments on commit 9a39b70

Please sign in to comment.