Skip to content

Commit

Permalink
feat!: use ubi9 upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare committed Dec 12, 2022
1 parent fdb8062 commit c3800b8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,10 @@ on:
push:
branches:
- main
- release/*

jobs:
semantic-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Run go-semantic-release
id: semrel
uses: go-semantic-release/action@v1
with:
github-token: ${{ secrets.RABE_ITREAKTION_GITHUB_TOKEN }}
allow-initial-development-versions: true
call-workflow:
uses: radiorabe/actions/.github/workflows/semantic-release.yaml@main
secrets:
RABE_ITREAKTION_GITHUB_TOKEN: ${{ secrets.RABE_ITREAKTION_GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .semrelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"maintainedVersion": "2-alpha"
}
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/radiorabe/ubi8-minimal:0.5.1
FROM ghcr.io/radiorabe/ubi9-minimal:0.1.1

ENV \
# Path to be used in other layers to place s2i scripts into
Expand All @@ -9,15 +9,15 @@ ENV \
PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
PLATFORM="el8"

COPY --from=registry.access.redhat.com/ubi8/s2i-core:1-282 \
COPY --from=registry.access.redhat.com/ubi9/s2i-core:1-373 \
/usr/bin/base-usage \
/usr/bin/container-entrypoint \
/usr/bin/cgroup-limits \
/usr/bin/fix-permissions \
/usr/bin/prepare-yum-repositories \
/usr/bin/rpm-file-permissions \
/usr/bin/
COPY --from=registry.access.redhat.com/ubi8/s2i-core:1-282 \
COPY --from=registry.access.redhat.com/ubi9/s2i-core:1-373 \
/opt/app-root/etc/scl_enable \
/opt/app-root/etc/

Expand Down

0 comments on commit c3800b8

Please sign in to comment.