Skip to content

Commit

Permalink
Upgrade packages to latest to resolve CVE’s (#8)
Browse files Browse the repository at this point in the history
* Upgrade packages to latest to resolve CVE’s

* only publish images from main
  • Loading branch information
tabossert authored Sep 26, 2023
1 parent e092e8c commit 46a027d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/build-base-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BUILD_REPO="${BUILD_REPO:-build-base-images}"
PIP_VERSION="${PIP_VERSION:-22.2.1}"
GITHUB_REF="${GITHUB_REF:-none}"
DOCKER_PLATFORM="${DOCKER_PLATFORM:-linux/amd64}"
DOCKERFILE="${DOCKERFILE:-rocky9.2-4}"
DOCKERFILE="${DOCKERFILE:-rocky9.2-5}"
CI="${CI:-false}"
SHORT_SHA="${SHORT_SHA:-$(git rev-parse --short HEAD)}"

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
docker-platform: ["linux/arm64", "linux/amd64"]
images: ["rocky9.2-4"]
images: ["rocky9.2-5"]
runs-on: ubuntu-latest
needs: [set-short-sha]
env:
Expand All @@ -51,10 +51,11 @@ jobs:
publish-images:
strategy:
matrix:
images: ["rocky9.2-4"]
images: ["rocky9.2-5"]
env:
SHORT_SHA: ${{ needs.set-short-sha.outputs.short_sha }}
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: [set-short-sha, build-images]
steps:
- uses: docker/setup-buildx-action@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/.DS_Store
.DS_Store
65 changes: 0 additions & 65 deletions dockerfiles/base-images:rocky8.8-6

This file was deleted.

File renamed without changes.

0 comments on commit 46a027d

Please sign in to comment.