name: Docker Image CI on: workflow_dispatch: push: pull_request: 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 }} - uses: actions/checkout@v4 - name: Build and push Docker images uses: docker/build-push-action@v6.10.0 with: push: true tags: h4ckermike/swarms-api:experimental # - name: Build the Docker image # run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)