Skip to content

github-util: Update FROM version (#70) #5

github-util: Update FROM version (#70)

github-util: Update FROM version (#70) #5

name: docker push containers to dockerhub and ecr
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
docker-push-containers-to-dockerhub-and-ecr:
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
secrets:
AWS_DOCKER_ACCOUNT_ID: ${{ secrets.AWS_DOCKER_ACCOUNT_ID }}
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
uses: senzing-factory/build-resources/.github/workflows/docker-push-containers-to-dockerhub-and-ecr.yaml@v1
with:
build-options: "--push"
docker-image-repository: senzing/senzingapi-tools
ecr-image-repository: senzing/senzingapi-tools
image-tag: ${{ github.ref_name }}
platforms: "linux/amd64,linux/arm64"