Skip to content

Commit

Permalink
Switch back to docker-run-action
Browse files Browse the repository at this point in the history
  • Loading branch information
erichlf committed May 18, 2024
1 parent d1c1d0e commit f84122f
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/install-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@ on:
jobs:
install:
runs-on: ubuntu-latest
container:
image: archlinux:latest
volumes:
- ${{ github.workspace }}:/root/dotfiles
steps:
- uses: actions/checkout@v4
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: install
run: |
yes | pacman -S git && \
git config --global --add safe.directory $HOME/dotfiles && \
cd $HOME/dotfiles && \
./install.sh
uses: addnab/docker-run-action@v3
with:
image: archlinux:latest
options: |
-v ${{ github.workspace }}:/root/dotfiles -v ${{ SSH_AUTH_SOCK }}:/ssh-agent -v ~/.ssh/known_hosts:/root/.ssh/known_hosts
run: |
yes | pacman -S git && \
git config --global --add safe.directory $HOME/dotfiles && \
cd $HOME/dotfiles && \
./install.sh

0 comments on commit f84122f

Please sign in to comment.