Skip to content

Instantly share code, notes, and snippets.

@orphefs
Created March 10, 2022 13:22
Show Gist options
  • Save orphefs/8304cc7f0b1784247655f20ebf3a232f to your computer and use it in GitHub Desktop.
Save orphefs/8304cc7f0b1784247655f20ebf3a232f to your computer and use it in GitHub Desktop.
FROM docker:dind
RUN apk add curl
RUN curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sh
COPY .actrc /
RUN mv /.actrc ~/.actrc
RUN mkdir /secret
WORKDIR /project
CMD /bin/sh -c "act -n ${ACTION} > /logs/dry-run.log; act ${ACTION} --secret-file=/secret/act.vault -v > /logs/run.log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment