Skip to content

Commit 034fe0a

Browse files
Bump google/cloud-sdk from 439.0.0-alpine to 473.0.0-alpine (#34)
* Bump google/cloud-sdk from 439.0.0-alpine to 473.0.0-alpine Bumps google/cloud-sdk from 439.0.0-alpine to 473.0.0-alpine. --- updated-dependencies: - dependency-name: google/cloud-sdk dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * update action permissions Signed-off-by: André Bauer <[email protected]> * install aws-cli via pak Signed-off-by: André Bauer <[email protected]> * update superlinter Signed-off-by: André Bauer <[email protected]> * fetch depth Signed-off-by: André Bauer <[email protected]> * disable healthcheck Signed-off-by: André Bauer <[email protected]> * disable shfmt Signed-off-by: André Bauer <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: André Bauer <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: André Bauer <[email protected]> Co-authored-by: André Bauer <[email protected]>
1 parent 9a1e74e commit 034fe0a

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

.github/workflows/ci.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
11
---
22
name: ci
33

4-
on:
4+
permissions: read-all
5+
6+
on:
57
pull_request:
68

79
jobs:
810
super-linter:
11+
permissions:
12+
statuses: write
913
runs-on: ubuntu-22.04
1014
steps:
1115
- name: Checkout Code
1216
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
1319

1420
- name: Lint Code Base
15-
uses: github/super-linter/slim@v5
21+
uses: github/super-linter/slim@v6
1622
env:
1723
DEFAULT_BRANCH: main
1824
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
VALIDATE_SHELL_SHFMT: false
1926

2027
docker-build:
2128
runs-on: ubuntu-22.04

.github/workflows/dependabot-auto-merge.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
---
22
name: dependabot-auto-merge
33

4+
permissions: read-all
5+
46
on:
57
pull_request:
68

79
jobs:
810
auto-merge:
11+
permissions:
12+
contents: write
913
runs-on: ubuntu-22.04
1014
steps:
1115
- uses: actions/checkout@v4

.github/workflows/release-drafter.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
name: Release Drafter
33

4+
permissions:
5+
contents: read
6+
47
on:
58
push:
69
branches:
710
- main
811
pull_request:
912
types: [opened, reopened, synchronize]
1013

11-
permissions:
12-
contents: read
13-
1414
jobs:
1515
update_release_draft:
1616
permissions:

.github/workflows/release.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: release
33

4+
permissions: read-all
5+
46
on:
57
push:
68
branches:
@@ -10,6 +12,10 @@ on:
1012

1113
jobs:
1214
docker-build-push:
15+
permissions:
16+
contents: read
17+
id-token: write
18+
packages: write
1319
runs-on: ubuntu-22.04
1420
steps:
1521
- name: Checkout Code

Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
FROM google/cloud-sdk:439.0.0-alpine
1+
FROM google/cloud-sdk:473.0.0-alpine
22

33
COPY entrypoint.sh /
44

55
# hadolint ignore=DL3013,DL3018
6-
RUN apk add --no-cache mysql-client py3-pip rsync && \
7-
pip3 install --no-cache-dir awscli && \
6+
RUN apk add --no-cache aws-cli mysql-client rsync && \
87
rm -rf /var/cache/apk/* && \
98
chmod +x /entrypoint.sh
109

10+
#checkov:skip=CKV_DOCKER_2:We don't need Docker HEALTHCHECK in Kubernetes
11+
1112
USER cloudsdk
1213

1314
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)