Skip to content

Merge pull request #3 from chvvkumar/dev #18

Merge pull request #3 from chvvkumar/dev

Merge pull request #3 from chvvkumar/dev #18

Workflow file for this run

name: main
on:
push:
branches:
- "main"
paths-ignore:
- 'readme.md'
- 'images/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# Build the Docker image and publish
- uses: docker/build-push-action@v4
with:
push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/simpleclouddetect:latest
# # Sync readme
# - name: Sync
# uses: ms-jpq/sync-dockerhub-readme@v1
# with:
# username: ${{ vars.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# repository: ${{ vars.DOCKERHUB_USERNAME }}/simpleclouddetect
# readme: ${{ github.workspace }}/readme.md