Skip to content

Commit

Permalink
add 20.04 for now
Browse files Browse the repository at this point in the history
    compliance doesn't like "unsupported"
  • Loading branch information
JasonEverling committed Feb 11, 2024
1 parent 37a9c21 commit 8fa74b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
DOCKER_TOKEN: ${{secrets.DOCKER_TOKEN}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_TOKEN
- name: Build 20.04
run: |
docker build . --pull --build-arg OS_VERSION=20.04 --tag bshp/ocie:20.04 --no-cache
- name: Push 20.04
run: |
docker push bshp/ocie:20.04
- name: Build 22.04
run: |
docker build . --pull --build-arg OS_VERSION=${{env.STABLE_CHANNEL}} --tag bshp/ocie:latest --no-cache
Expand Down
3 changes: 3 additions & 0 deletions src/usr/lib/ocie/pkg
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ function set_manifest()
if [[ -f /bin/jq ]];then
DB="$(mktemp -d)";
cp /var/lib/dpkg/status $DB/ >/dev/null 2>&1;
if [[ -d /var/lib/dpkg/updates ]];then
cp -R /var/lib/dpkg/updates $DB/ >/dev/null 2>&1;
fi;
sed -i 's/"//g' $DB/status >/dev/null 2>&1;
DPKG_FORMAT='\{\"name\"\:\"${binary:Package}\"\,\"version\"\:\"${Version}\"\,\"summary\"\:\"${binary:Summary}\"\,\"maintainer\"\:\"${Maintainer}\"\}\,';
DPKG_LIST=$(dpkg-query -W --admindir=$DB -f=$DPKG_FORMAT);
Expand Down

0 comments on commit 8fa74b8

Please sign in to comment.