Skip to content

#135 reusable dockerfile verification #77

#135 reusable dockerfile verification

#135 reusable dockerfile verification #77

name: docker build container
on:
pull_request:
branches:
- main
workflow_dispatch:
permissions: {}
jobs:
docker-build-container:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Get repository 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@v2
with:
image-repository: senzing/${{ steps.repo-basename.outputs.repo }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}