mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
container -> docker_iamge
This commit is contained in:
parent
321f3709f5
commit
6ad9fdaea7
4 changed files with 20 additions and 20 deletions
28
.github/workflows/reusable-verify.yml
vendored
28
.github/workflows/reusable-verify.yml
vendored
|
@ -7,11 +7,11 @@ on:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
description: "'runs-on'"
|
description: "'runs-on'"
|
||||||
container:
|
docker_image:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
description: container name
|
description: Docker image name
|
||||||
package_installation_command:
|
package_installation_command:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
@ -32,7 +32,7 @@ jobs:
|
||||||
ssh-pem:
|
ssh-pem:
|
||||||
name: Connect to github.com (PEM format)
|
name: Connect to github.com (PEM format)
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -50,7 +50,7 @@ jobs:
|
||||||
ssh-pem-bitbucket:
|
ssh-pem-bitbucket:
|
||||||
name: Connect to bitbucket.org (PEM format)
|
name: Connect to bitbucket.org (PEM format)
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -69,7 +69,7 @@ jobs:
|
||||||
ssh-pkcs8:
|
ssh-pkcs8:
|
||||||
name: Connect to github.com (PKCS8 format)
|
name: Connect to github.com (PKCS8 format)
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -87,7 +87,7 @@ jobs:
|
||||||
ssh-pkcs8-bitbucket:
|
ssh-pkcs8-bitbucket:
|
||||||
name: Connect to bitbucket.org (PKCS8 format)
|
name: Connect to bitbucket.org (PKCS8 format)
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -106,7 +106,7 @@ jobs:
|
||||||
ssh-rfc4716:
|
ssh-rfc4716:
|
||||||
name: Connect to github.com (RFC4716 format)
|
name: Connect to github.com (RFC4716 format)
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -124,7 +124,7 @@ jobs:
|
||||||
ssh-rfc4716-bitbucket:
|
ssh-rfc4716-bitbucket:
|
||||||
name: Connect to bitbucket.org (RFC4716 format)
|
name: Connect to bitbucket.org (RFC4716 format)
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -143,7 +143,7 @@ jobs:
|
||||||
key_if_exists_replace-key_exists:
|
key_if_exists_replace-key_exists:
|
||||||
name: if_key_exists=replace / key exists
|
name: if_key_exists=replace / key exists
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -167,7 +167,7 @@ jobs:
|
||||||
key_if_exists_replace-key_doesnt_exist:
|
key_if_exists_replace-key_doesnt_exist:
|
||||||
name: if_key_exists=replace / key doesn't exist
|
name: if_key_exists=replace / key doesn't exist
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -186,7 +186,7 @@ jobs:
|
||||||
key_if_exists_ignore-key_exists:
|
key_if_exists_ignore-key_exists:
|
||||||
name: if_key_exists=ignore / key exists
|
name: if_key_exists=ignore / key exists
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -210,7 +210,7 @@ jobs:
|
||||||
key_if_exists_ignore-key_doesnt_exist:
|
key_if_exists_ignore-key_doesnt_exist:
|
||||||
name: if_key_exists=ignore / key doesn't exist
|
name: if_key_exists=ignore / key doesn't exist
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -229,7 +229,7 @@ jobs:
|
||||||
key_if_exists_fail-key_exists:
|
key_if_exists_fail-key_exists:
|
||||||
name: if_key_exists=fail / key exists
|
name: if_key_exists=fail / key exists
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
@ -254,7 +254,7 @@ jobs:
|
||||||
key_if_exists_fail-key_doesnt_exist:
|
key_if_exists_fail-key_doesnt_exist:
|
||||||
name: if_key_exists=fail / key doesn't exist
|
name: if_key_exists=fail / key doesn't exist
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.docker_image }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: ${{ inputs.package_installation_command }}
|
run: ${{ inputs.package_installation_command }}
|
||||||
|
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- ubuntu-18.04
|
- ubuntu-18.04
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
- ubuntu-22.04
|
- ubuntu-22.04
|
||||||
container:
|
docker_image:
|
||||||
- alpine:3.10
|
- alpine:3.10
|
||||||
- alpine:3.11
|
- alpine:3.11
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
|
@ -23,6 +23,6 @@ jobs:
|
||||||
uses: "./.github/workflows/reusable-verify.yml"
|
uses: "./.github/workflows/reusable-verify.yml"
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
container: ${{ matrix.container }}
|
docker_image: ${{ matrix.docker_image }}
|
||||||
package_installation_command: apk add openssh-client git
|
package_installation_command: apk add openssh-client git
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
|
@ -15,12 +15,12 @@ jobs:
|
||||||
- ubuntu-18.04
|
- ubuntu-18.04
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
- ubuntu-22.04
|
- ubuntu-22.04
|
||||||
container:
|
docker_image:
|
||||||
- quay.io/centos/centos:centos7
|
- quay.io/centos/centos:centos7
|
||||||
- quay.io/centos/centos:stream8
|
- quay.io/centos/centos:stream8
|
||||||
uses: "./.github/workflows/reusable-verify.yml"
|
uses: "./.github/workflows/reusable-verify.yml"
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
container: ${{ matrix.container }}
|
docker_image: ${{ matrix.docker_image }}
|
||||||
package_installation_command: yum install -y git openssh-clients
|
package_installation_command: yum install -y git openssh-clients
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- ubuntu-18.04
|
- ubuntu-18.04
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
- ubuntu-22.04
|
- ubuntu-22.04
|
||||||
container:
|
docker_image:
|
||||||
- ubuntu:16.04
|
- ubuntu:16.04
|
||||||
- ubuntu:18.04
|
- ubuntu:18.04
|
||||||
- ubuntu:20.04
|
- ubuntu:20.04
|
||||||
|
@ -23,7 +23,7 @@ jobs:
|
||||||
uses: "./.github/workflows/reusable-verify.yml"
|
uses: "./.github/workflows/reusable-verify.yml"
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
container: ${{ matrix.container }}
|
docker_image: ${{ matrix.docker_image }}
|
||||||
package_installation_command: |
|
package_installation_command: |
|
||||||
apt update
|
apt update
|
||||||
apt install -y openssh-client git
|
apt install -y openssh-client git
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue