Plume/.github/workflows/deploy-docker-latest.yaml

31 lines
643 B
YAML
Raw Normal View History

name: cd
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
2023-01-02 16:10:11 +00:00
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
2023-01-02 16:10:11 +00:00
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
2023-01-02 16:10:11 +00:00
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
id: docker_build
2023-01-02 16:10:11 +00:00
uses: docker/build-push-action@v3
with:
push: true
tags: plumeorg/plume:latest