Skip to content

Commit

Permalink
chore: docs and fixes (#58)
Browse files Browse the repository at this point in the history
* docs: updating documentation

* feat: added retag to image

* feat: skipping cert extract if using insecure port

* chore: adding remove before publishing new version

* chore: fixing legacy labels
  • Loading branch information
paulushcgcj authored Sep 18, 2024
1 parent 51c03e0 commit 9783d91
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 12 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Removing old core
uses: paulushcgcj/[email protected]
continue-on-error: true
with:
token: ${{ secrets.PAT }}
type: maven
name: ca.bc.gov.nrs-commons.forest-client-core
version: ${{ needs.vars.outputs.semver }}
user: ${{ github.repository_owner }}

- name: Publish Core
uses: paulushcgcj/[email protected]
with:
Expand All @@ -79,6 +89,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Removing old spring
uses: paulushcgcj/[email protected]
continue-on-error: true
with:
token: ${{ secrets.PAT }}
type: maven
name: ca.bc.gov.nrs-commons.forest-client-spring
version: ${{ needs.vars.outputs.semver }}
user: ${{ github.repository_owner }}

- name: Publish Spring
uses: paulushcgcj/[email protected]
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,3 @@ jobs:
name: ca.bc.gov.nrs-commons.forest-client-spring
version: ${{ needs.vars.outputs.semver }}.PR${{ github.event.number }}
user: ${{ github.repository_owner }}

22 changes: 11 additions & 11 deletions certextractor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ FROM eclipse-temurin:17.0.12_7-jdk-alpine
ARG BUILD_DATE
ARG VERSION

LABEL org.opencontainers.image.created "$BUILD_DATE"
LABEL org.opencontainers.image.authors "Natural Resource Information and Digital Services"
LABEL org.opencontainers.image.url "https://github.com/bcgov/nr-forest-client-commons/pkgs/container/nr-forest-client-commons%2Fcertextractor"
LABEL org.opencontainers.image.documentation "https://github.com/bcgov/nr-forest-client-commons/wiki"
LABEL org.opencontainers.image.source "https://github.com/bcgov/nr-forest-client-commons"
LABEL org.opencontainers.image.version "$VERSION"
LABEL org.opencontainers.image.licenses "Apache-2.0"
LABEL org.opencontainers.image.title "Oracle Database Client Certificate Extractor"
LABEL org.opencontainers.image.vendor "Government of British Columbia"
LABEL org.opencontainers.image.description "Extracts the Oracle Database Client certificates from the Oracle connection and adds them to the Java Truststore."
LABEL org.opencontainers.image.base.name "eclipse-temurin:17.0.11_9-jdk-alpine"
LABEL org.opencontainers.image.created="$BUILD_DATE"
LABEL org.opencontainers.image.authors="Natural Resource Information and Digital Services"
LABEL org.opencontainers.image.url="https://github.com/bcgov/nr-forest-client-commons/pkgs/container/nr-forest-client-commons%2Fcertextractor"
LABEL org.opencontainers.image.documentation="https://github.com/bcgov/nr-forest-client-commons/wiki"
LABEL org.opencontainers.image.source="https://github.com/bcgov/nr-forest-client-commons"
LABEL org.opencontainers.image.version="$VERSION"
LABEL org.opencontainers.image.licenses="Apache-2.0"
LABEL org.opencontainers.image.title="Oracle Database Client Certificate Extractor"
LABEL org.opencontainers.image.vendor="Government of British Columbia"
LABEL org.opencontainers.image.description="Extracts the Oracle Database Client certificates from the Oracle connection and adds them to the Java Truststore."
LABEL org.opencontainers.image.base.name="eclipse-temurin:17.0.11_9-jdk-alpine"

ENV LANG en_CA.UTF-8
ENV LANGUAGE en_CA.UTF-8
Expand Down

0 comments on commit 9783d91

Please sign in to comment.