Skip to content

Commit

Permalink
Change to use container
Browse files Browse the repository at this point in the history
  • Loading branch information
erichlf committed May 18, 2024
1 parent c7f7776 commit d1c1d0e
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/install-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@ 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"
uses: addnab/docker-run-action@v3
with:
image: manjarolinux/base:latest
ssh: default=${{ env.SSH_AUTH_SOCK }}
options: -v ${{ github.workspace }}:/root/dotfiles
run: |
yes | pacman -S git && \
git config --global --add safe.directory $HOME/dotfiles && \
cd $HOME/dotfiles && \
./install.sh
- name: install
run: |
yes | pacman -S git && \
git config --global --add safe.directory $HOME/dotfiles && \
cd $HOME/dotfiles && \
./install.sh

0 comments on commit d1c1d0e

Please sign in to comment.