Skip to content

Bump postgres from 15.1-bullseye to 17.0-bullseye in /dockerfiles/postgres #291

Bump postgres from 15.1-bullseye to 17.0-bullseye in /dockerfiles/postgres

Bump postgres from 15.1-bullseye to 17.0-bullseye in /dockerfiles/postgres #291

Workflow file for this run

name: dockle
on:
push:
branches:
- master
pull_request:
permissions: { }
jobs:
dockle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run docker containers
run: docker compose up -d
- name: Get latest dockle version
uses: actions/[email protected]
id: get_latest_dockle_version
with:
github-token: ${{secrets.GITHUB_TOKEN}}
result-encoding: string
script: |
const release = await github.rest.repos.getLatestRelease({
owner: 'goodwithtech',
repo: 'dockle'
});
return release.data.tag_name;
- name: Run Dockle
run: |
for image_name in $(docker compose images | awk 'OFS=":" {print $2,$3}' | tail -n +2); do
docker save "${image_name}" | gzip > image.tar.gz
cmd="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/.dockleignore:/.dockleignore -v $(pwd)/image.tar.gz:/image.tar.gz "
cmd+="goodwithtech/dockle:${{ steps.get_latest_dockle_version.outputs.result }} --exit-code 1 --exit-level info --input /image.tar.gz "
if [[ "${image_name}" =~ "dss-notebook" ]]; then
cmd+="--timeout 600s -ae mdf -af settings.py -af credentials -i DKL-DI-0001 "
elif [[ "${image_name}" =~ "dss-postgres" ]]; then
cmd+="-ak key "
fi
cmd+="${image_name}"
echo "> ${cmd}"
eval "${cmd}"
done