calpine-node/.github/workflows/docker-publish.yml

27 lines
546 B
YAML
Raw Normal View History

2021-03-29 13:59:59 +07:00
name: Docker CI
on:
2021-07-14 15:04:32 +07:00
push:
branches: [ main ]
2021-03-29 13:59:59 +07:00
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
2022-09-27 21:09:59 +07:00
uses: docker/setup-buildx-action@v2
2021-03-29 13:59:59 +07:00
-
name: Login to DockerHub
2022-09-27 21:09:59 +07:00
uses: docker/login-action@v2
2021-03-29 13:59:59 +07:00
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_SECRET }}
-
name: Checkout
2022-09-27 21:09:59 +07:00
uses: actions/checkout@v3
2021-03-29 13:59:59 +07:00
-
name: Build and Push from Makefile
run: |
make build