Files
Pinry/.github/workflows/build-docker.yml
Workflow config file is invalid. Please check your config file: yaml: line 12: did not find expected '-' indicator
2022-04-23 06:41:43 -07:00

25 lines
617 B
YAML

name: build our image
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: install buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
version: latest
- name: login to docker hub
run: echo "${{ secrets.PINRY_DOCKER_PASSWORD }}" | docker login -u "${{ secrets.PINRY_DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: |
bash docker/build_docker_multiple_platform.sh