Skip to content

Commit

Permalink
use standardized docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam committed Jan 18, 2024
1 parent b084df6 commit 2354b38
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-build-container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'docker build container'

on: [push]

jobs:
docker-build-container:
runs-on: ubuntu-latest
steps:
- name: Build docker image
uses: Senzing/github-action-docker-buildx-build@v1
with:
build-options: "--build-arg \"GITHUB_HEAD_REF=${GITHUB_HEAD_REF:-${GITHUB_REF##*/}}\" \
--build-arg \"GITHUB_EVENT_NAME=${GITHUB_EVENT_NAME}\" "
context: build/docker
image-repository: senzing-factory/git-action-slack-notification
image-tag: ${{ github.ref_name }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}

0 comments on commit 2354b38

Please sign in to comment.