mirror of
https://github.com/pinry/pinry.git
synced 2026-05-06 01:26:35 +02:00
25 lines
617 B
YAML
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
|