Skip to content

Merge pull request #2 from Senzing/1-skern #3

Merge pull request #2 from Senzing/1-skern

Merge pull request #2 from Senzing/1-skern #3

name: docker build container
on: [push]
permissions:
contents: read
jobs:
docker-build-container:
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
uses: senzing-factory/github-action-docker-buildx-build@v1
with:
image-repository: senzing/${{ steps.repo-basename.outputs.repo }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}