-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #513 from Cray-HPE/CASMPET-6186-1.6-5
Updated bitnami etcd images
- Loading branch information
Showing
4 changed files
with
182 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
.github/workflows/docker.io.bitnami.bitnami-shell.11-debian-11-r79.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# | ||
# MIT License | ||
# | ||
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a | ||
# copy of this software and associated documentation files (the "Software"), | ||
# to deal in the Software without restriction, including without limitation | ||
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
# and/or sell copies of the Software, and to permit persons to whom the | ||
# Software is furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included | ||
# in all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
# OTHER DEALINGS IN THE SOFTWARE. | ||
# | ||
name: docker.io/bitnami/bitnami-shell:11-debian-11-r79 | ||
on: | ||
push: | ||
paths: | ||
- .github/workflows/docker.io.bitnami.bitnami-shell.11-debian-11-r79.yaml | ||
- docker.io/bitnami/bitnami-shell/11-debian-11-r79/** | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '23 11 * * *' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
id-token: write | ||
env: | ||
CONTEXT_PATH: docker.io/bitnami/bitnami-shell/11-debian-11-r79 | ||
DOCKER_REPO: artifactory.algol60.net/csm-docker/stable/docker.io/bitnami/bitnami-shell | ||
DOCKER_TAG: 11-debian-11-r79 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
- name: build-sign-scan | ||
uses: Cray-HPE/github-actions/build-sign-scan@main | ||
with: | ||
# Only push on main builds | ||
docker_push: ${{ github.ref == 'refs/heads/main' }} | ||
context_path: ${{ env.CONTEXT_PATH }} | ||
docker_repo: ${{ env.DOCKER_REPO }} | ||
docker_tag: ${{ env.DOCKER_TAG }} | ||
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }} | ||
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }} | ||
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }} | ||
cosign_key: ${{ secrets.COSIGN_KEY }} | ||
snyk_token: ${{ secrets.SNYK_TOKEN }} | ||
github_sha: $GITHUB_SHA | ||
fail_on_snyk_errors: false |
60 changes: 60 additions & 0 deletions
60
.github/workflows/docker.io.bitnami.etcd.3.5.7-debian-11-r4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# | ||
# MIT License | ||
# | ||
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a | ||
# copy of this software and associated documentation files (the "Software"), | ||
# to deal in the Software without restriction, including without limitation | ||
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
# and/or sell copies of the Software, and to permit persons to whom the | ||
# Software is furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included | ||
# in all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
# OTHER DEALINGS IN THE SOFTWARE. | ||
# | ||
name: docker.io/bitnami/etcd:3.5.7-debian-11-r4 | ||
on: | ||
push: | ||
paths: | ||
- .github/workflows/docker.io.bitnami.etcd.3.5.7-debian-11-r4.yaml | ||
- docker.io/bitnami/etcd/3.5.7-debian-11-r4/** | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '35 8 * * *' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
id-token: write | ||
env: | ||
CONTEXT_PATH: docker.io/bitnami/etcd/3.5.7-debian-11-r4 | ||
DOCKER_REPO: artifactory.algol60.net/csm-docker/stable/docker.io/bitnami/etcd | ||
DOCKER_TAG: 3.5.7-debian-11-r4 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
- name: build-sign-scan | ||
uses: Cray-HPE/github-actions/build-sign-scan@main | ||
with: | ||
# Only push on main builds | ||
docker_push: ${{ github.ref == 'refs/heads/main' }} | ||
context_path: ${{ env.CONTEXT_PATH }} | ||
docker_repo: ${{ env.DOCKER_REPO }} | ||
docker_tag: ${{ env.DOCKER_TAG }} | ||
artifactory_algol60_token: ${{ secrets.ARTIFACTORY_ALGOL60_TOKEN }} | ||
cosign_gcp_workload_identity_provider: ${{ secrets.COSIGN_GCP_WORKLOAD_IDENTITY_PROVIDER }} | ||
cosign_gcp_service_account: ${{ secrets.COSIGN_GCP_SERVICE_ACCOUNT }} | ||
cosign_key: ${{ secrets.COSIGN_KEY }} | ||
snyk_token: ${{ secrets.SNYK_TOKEN }} | ||
github_sha: $GITHUB_SHA | ||
fail_on_snyk_errors: false |
31 changes: 31 additions & 0 deletions
31
docker.io/bitnami/bitnami-shell/11-debian-11-r79/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# | ||
# MIT License | ||
# | ||
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a | ||
# copy of this software and associated documentation files (the "Software"), | ||
# to deal in the Software without restriction, including without limitation | ||
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
# and/or sell copies of the Software, and to permit persons to whom the | ||
# Software is furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included | ||
# in all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
# OTHER DEALINGS IN THE SOFTWARE. | ||
# | ||
FROM docker.io/bitnami/bitnami-shell:11-debian-11-r79 | ||
|
||
USER root | ||
|
||
RUN apt-get -y update && apt-get upgrade -y && apt full-upgrade -y\ | ||
&& rm -rf /var/lib/apt/lists/ | ||
|
||
USER 1001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# | ||
# MIT License | ||
# | ||
# (C) Copyright [2023] Hewlett Packard Enterprise Development LP | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a | ||
# copy of this software and associated documentation files (the "Software"), | ||
# to deal in the Software without restriction, including without limitation | ||
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
# and/or sell copies of the Software, and to permit persons to whom the | ||
# Software is furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included | ||
# in all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
# OTHER DEALINGS IN THE SOFTWARE. | ||
# | ||
FROM docker.io/bitnami/etcd:3.5.7-debian-11-r4 | ||
|
||
USER root | ||
|
||
RUN apt-get -y update && apt-get upgrade -y && apt full-upgrade -y\ | ||
&& rm -rf /var/lib/apt/lists/ && mkdir -p /opt/bitnami/etcd/conf\ | ||
&& chown -R 1001:1001 /opt/bitnami/etcd | ||
USER 1001 |