Skip to content

Commit

Permalink
github-util: Update FROM version (#59)
Browse files Browse the repository at this point in the history
* #1 Update version

* Update to template
  • Loading branch information
docktermj authored Sep 29, 2023
1 parent 9060203 commit bf52b90
Show file tree
Hide file tree
Showing 9 changed files with 84 additions and 26 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/add-triage-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
15 changes: 15 additions & 0 deletions .github/workflows/dependabot-approve-and-merge.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
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.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 }}
19 changes: 19 additions & 0 deletions .github/workflows/docker-push-containers-to-dockerhub.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
21 changes: 5 additions & 16 deletions .github/workflows/identify-customer.yaml
Original file line number Diff line number Diff line change
@@ -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"
12 changes: 12 additions & 0 deletions .github/workflows/move-pr-to-done.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
html/
.history
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

Expand Down

0 comments on commit bf52b90

Please sign in to comment.