Skip to content

chore(deps): update dependency eslint-plugin-n to v16.3.1 (#606) #51

chore(deps): update dependency eslint-plugin-n to v16.3.1 (#606)

chore(deps): update dependency eslint-plugin-n to v16.3.1 (#606) #51

name: Deploy To Dockerhub(Latest)
on:
push:
branches: [ master ]
jobs:
latest:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: hitokoto/api:latest
file: ./docker/mainline/Dockerfile
alinode-latest:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: hitokoto/api:alinode-latest
file: ./docker/alinode/Dockerfile