Skip to content

Commit

Permalink
#224 Prepare for versioned release
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Aug 29, 2024
1 parent 8df9a5d commit 07301c4
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/docker-push-containers-to-dockerhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,27 @@ permissions:
contents: read

jobs:
docker-push-containers-to-dockerhub:
docker-push-containers-to-dockerhub-amd:
runs-on: ubuntu-latest

steps:
- name: get repo name
id: repo-basename
run: |
echo "repo=$(basename ${{ github.repository }})" >> "$GITHUB_OUTPUT"
shell: bash

- name: Build docker image and push to DockerHub
uses: senzing-factory/github-action-docker-buildx-build@v1
with:
build-options: "--push"
image-repository: senzing/${{ steps.repo-basename.outputs.repo }}
image-tag: ${{ github.ref_name }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
platforms: "linux/amd64"
username: ${{ secrets.DOCKERHUB_USERNAME }}

docker-push-containers-to-dockerhub-arm:
runs-on: ubuntu-latest

steps:
Expand All @@ -26,4 +46,5 @@ jobs:
image-repository: senzing/${{ steps.repo-basename.outputs.repo }}
image-tag: ${{ github.ref_name }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
platforms: "linux/arm64"
username: ${{ secrets.DOCKERHUB_USERNAME }}

0 comments on commit 07301c4

Please sign in to comment.