4 Commits

Author SHA1 Message Date
200330548d Remove root requirement 2023-07-12 00:15:22 +00:00
588ec39451 Add trace to jekyll 2023-07-12 00:13:26 +00:00
6f9435328c Add write permissions to working directory 2023-07-12 00:10:18 +00:00
2bbd2b9194 Change entrypoint for different working folder 2023-07-12 00:08:11 +00:00
3 changed files with 7 additions and 10 deletions

View File

@@ -3,11 +3,6 @@ LABEL version="1.2.0"
LABEL description="Minimal Jekyll image with basic build tools." LABEL description="Minimal Jekyll image with basic build tools."
LABEL maintainer="Vivien Richter <vivien-richter@outlook.de>" LABEL maintainer="Vivien Richter <vivien-richter@outlook.de>"
# Requirements
USER root
RUN apk --no-cache add build-base
EXPOSE 4000/tcp
# Entry point # Entry point
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh

View File

@@ -5,7 +5,7 @@ runs:
using: 'docker' using: 'docker'
image: 'Dockerfile' image: 'Dockerfile'
args: args:
- jekyll build - jekyll build --trace
branding: branding:
icon: 'book-open' icon: 'book-open'
color: 'red' color: 'red'

View File

@@ -6,11 +6,13 @@ set -x
# Stop executing after error # Stop executing after error
set -e set -e
# Change permissions
chmod -R a+w /github/workspace
# Use working directory # Use working directory
cd /github/workspace chmod -R a+w /root/.cache/act/almouse/personalwebsite
cd /root/.cache/act/almouse/personalwebsite
pwd
ls -R
# Run command # Run command
$* $*