diff --git a/.github/workflows/add-triage-label.yaml b/.github/workflows/add-triage-label.yaml index 7512f32..bdbefae 100644 --- a/.github/workflows/add-triage-label.yaml +++ b/.github/workflows/add-triage-label.yaml @@ -2,22 +2,20 @@ # - https://docs.github.com/en/actions/guides/adding-labels-to-issues # - https://github.com/andymckay/labeler -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. +name: add-triage-label.yaml -name: Simple Issue Labeler on: issues: types: - reopened - opened + jobs: - automate-issues-labels: + add-triage-label: + name: Add triage label to issue runs-on: ubuntu-latest steps: - name: initial labeling - uses: andymckay/labeler@1.0.3 + uses: andymckay/labeler@1.0.4 with: add-labels: "triage" diff --git a/.github/workflows/dependabot-approve-and-merge.yaml b/.github/workflows/dependabot-approve-and-merge.yaml new file mode 100644 index 0000000..114db76 --- /dev/null +++ b/.github/workflows/dependabot-approve-and-merge.yaml @@ -0,0 +1,15 @@ +--- +name: dependabot-approve-and-merge.yaml + +on: + pull_request: + branches: [main] + +jobs: + dependabot-approve-and-merge: + permissions: + contents: write + pull-requests: write + uses: Senzing/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main + secrets: + SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }} diff --git a/.github/workflows/docker-build-container.yaml b/.github/workflows/docker-build-container.yaml new file mode 100644 index 0000000..8afefd5 --- /dev/null +++ b/.github/workflows/docker-build-container.yaml @@ -0,0 +1,18 @@ +name: docker-build-container.yaml + +on: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + docker-build-container: + runs-on: ubuntu-latest + steps: + - name: Build docker image + uses: Senzing/github-action-docker-buildx-build@latest + with: + image-repository: senzing/test + password: ${{ secrets.DOCKERHUB_PASSWORD }} + username: ${{ secrets.DOCKERHUB_USERNAME }} diff --git a/.github/workflows/docker-push-containers-to-dockerhub.yaml b/.github/workflows/docker-push-containers-to-dockerhub.yaml new file mode 100644 index 0000000..98eba45 --- /dev/null +++ b/.github/workflows/docker-push-containers-to-dockerhub.yaml @@ -0,0 +1,19 @@ +name: docker-push-containers-to-dockerhub.yaml + +on: + push: + tags: + - "[0-9]+.[0-9]+.[0-9]+" + +jobs: + docker-push-containers-to-dockerhub: + runs-on: ubuntu-latest + steps: + - name: Build docker image and push to DockerHub + uses: Senzing/github-action-docker-buildx-build@latest + with: + build-options: "--push" + image-repository: senzing/test + image-tag: ${{ github.ref_name }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + username: ${{ secrets.DOCKERHUB_USERNAME }} diff --git a/.github/workflows/identify-customer.yaml b/.github/workflows/identify-customer.yaml index 2a624f7..2e9a0da 100644 --- a/.github/workflows/identify-customer.yaml +++ b/.github/workflows/identify-customer.yaml @@ -1,35 +1,24 @@ -name: identify_customer +name: identify-customer.yaml on: issues: types: - opened + env: GITHUB_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }} CREATOR: ${{ github.actor }} - TITLE: ${{ github.event.issue.title }} - NUMBER: ${{ github.event.issue.number }} - TOKEN: ${{ secrets.SENZING_SLACK_BEARER_TOKEN }} - REPO_URL: ${{ github.repository }} - SLACK_HASHES: ${{ secrets.SENZING_GITHUB_SLACK_MAP }} jobs: - check-membership: - runs-on: ubuntu-latest - steps: - - name: run script - env: - BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }} - if: ${{ env.BOOL == 'false' }} - uses: Senzing/github-action-identify-customer@main - automate-issues-labels: + identify-customer: + name: Add customer-submission label runs-on: ubuntu-latest steps: - name: initial labeling env: BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }} if: ${{ env.BOOL == 'false' }} - uses: andymckay/labeler@1.0.3 + uses: andymckay/labeler@1.0.4 with: add-labels: "customer-submission" diff --git a/.github/workflows/move-pr-to-done.yaml b/.github/workflows/move-pr-to-done.yaml new file mode 100644 index 0000000..a77c683 --- /dev/null +++ b/.github/workflows/move-pr-to-done.yaml @@ -0,0 +1,12 @@ +--- +name: move-pr-to-done.yaml + +on: + pull_request: + types: [closed] + +jobs: + move-pr-to-done: + uses: Senzing/build-resources/.github/workflows/move-pr-to-done.yaml@main + secrets: + SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} diff --git a/.gitignore b/.gitignore index 5ccff1a..1b5a15f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ html/ +.history diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d73546..87aac28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), [markdownlint](https://dlaa.me/markdownlint/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.9] - 2023-09-23 + +### Changed in 1.0.9 + +- Updated to `debian:11.7-slim@sha256:c618be84fc82aa8ba203abbb07218410b0f5b3c7cb6b4e7248fda7785d4f9946` + ## [1.0.5] - 2022-04-01 ### Changed in 1.0.5 diff --git a/Dockerfile b/Dockerfile index 2270422..ef1f618 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -ARG BASE_IMAGE=debian:11.7-slim@sha256:924df86f8aad741a0134b2de7d8e70c5c6863f839caadef62609c1be1340daf5 +ARG BASE_IMAGE=debian:11.7-slim@sha256:c618be84fc82aa8ba203abbb07218410b0f5b3c7cb6b4e7248fda7785d4f9946 FROM ${BASE_IMAGE} -ENV REFRESHED_AT=2023-06-15 +ENV REFRESHED_AT=2023-09-29 LABEL Name="senzing/test" \ Maintainer="support@senzing.com" \ - Version="1.0.5" + Version="1.0.9" HEALTHCHECK CMD ["/app/healthcheck.sh"]