try out buildah, maybe it'll work out better
This commit is contained in:
parent
28e88223d5
commit
00d5bd1da0
|
@ -18,16 +18,9 @@ jobs:
|
|||
build_and_push_container:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: ubuntu-latest
|
||||
image: git.hswro.org/fleg/hswro_org_build:latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/checkout@v3
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.hswro.org
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- run: find
|
||||
- run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest
|
||||
|
|
|
@ -3,7 +3,7 @@ FROM ubuntu:22.04
|
|||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ruby-full build-essential zlib1g-dev \
|
||||
build-essential \
|
||||
git nodejs git podman \
|
||||
git nodejs git buildah \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& gem install --no-document jekyll -v 4.4.1 \
|
||||
&& gem install --no-document jekyll-environment-variables \
|
||||
|
|
Loading…
Reference in New Issue