ssh stuff
Some checks are pending
docker (ubuntu-latest, 2.38.4)

This commit is contained in:
Lee 2023-04-06 16:29:13 +01:00
parent 76eb47d6b3
commit d492f7ca47

@ -14,7 +14,16 @@ jobs:
runs-on: ${{ matrix.arch }} runs-on: ${{ matrix.arch }}
steps: steps:
- name: checkout - name: checkout
uses: https://github.com/actions/checkout@v3 uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up SSH keys
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -t rsa git.fascinated.cc >> ~/.ssh/known_hosts
- name: Download docker - name: Download docker
run: | run: |
@ -23,10 +32,10 @@ jobs:
&& rm -rf /tmp/* && rm -rf /tmp/*
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
- name: Login to Repo - name: Login to Repo
uses: https://github.com/docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: git.fascinated.cc registry: git.fascinated.cc
username: ${{ secrets.REPO_USERNAME }} username: ${{ secrets.REPO_USERNAME }}