Skip to content

docker push containers to dockerhub - beta #2

docker push containers to dockerhub - beta

docker push containers to dockerhub - beta #2

name: docker push containers to dockerhub - beta
on:
workflow_dispatch:
permissions:
contents: read
jobs:
docker-push-containers-to-dockerhub-beta:
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: "-q --push --build-arg SENZING_APT_INSTALL_PACKAGE=senzingsdk-runtime --build-arg SENZING_APT_REPOSITORY_NAME=${{ secrets.SENZING_APT_BETA_STAGING_REPOSITORY_PACKAGE }} --build-arg SENZING_APT_REPOSITORY_URL=${{ secrets.SENZING_APT_BETA_STAGING_REPOSITORY_URL }}"
image-repository: senzing/${{ steps.repo-basename.outputs.repo }}-beta
image-tag: latest
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}