1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-05 23:40:12 +01:00
pingvin-share/.github/workflows/docker-image-frontend.yml
Workflow config file is invalid. Please check your config file: yaml: line 6: mapping values are not allowed in this context
2022-10-10 17:59:02 +02:00

26 lines
723 B
YAML

name: Create Docker Image for Frontend
on:
push:
branches: main
paths:
- 'frontend/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: login to docker registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
run: |
docker buildx build --push \
--tag stonith404/pingvin-share-frontend:latest \
--platform linux/amd64,linux/arm64 .