Skip to content

fix(ci): buildx and login added #15

fix(ci): buildx and login added

fix(ci): buildx and login added #15

Workflow file for this run

name: build
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:

Check failure on line 7 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 7
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build
run : |
docker buildx build -t crawl:latest --platform linux/i386,linux/x86_64 .
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/crawl-webtiles:latest