repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

pico / .github / actions / setup
Antonio Mika  ·  2023-11-08

action.yml

 1name: Setup main action
 2
 3description: Runs the setup required for docker building
 4
 5inputs:
 6  registry:
 7    description: The docker registry to use
 8    required: true
 9    default: ghcr.io
10  username:
11    description: The docker registry to use
12    required: true
13  password:
14    description: The docker registry to use
15    required: true
16
17runs:
18  using: composite
19  steps:
20    - name: Set up QEMU
21      uses: docker/setup-qemu-action@v2
22      with:
23        platforms: all
24    - name: Set up Docker Buildx
25      id: buildx
26      uses: docker/setup-buildx-action@v2
27      with:
28        version: latest
29    - name: Login to Docker Hub
30      uses: docker/login-action@v2
31      with:
32        registry: ${{ inputs.registry }}
33        username: ${{ inputs.username }}
34        password: ${{ inputs.password }}