diff --git a/.github/workflows/publish-esp-idf-rust-image.yml b/.github/workflows/publish-esp-idf-rust-image.yml new file mode 100644 index 0000000..1e1f63a --- /dev/null +++ b/.github/workflows/publish-esp-idf-rust-image.yml @@ -0,0 +1,22 @@ +name: Publish esp-idf-rust image on DockerHub + +on: workflow_dispatch + +jobs: + push_to_registry: + name: Push Docker image to Docker Hub + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v2 + - name: Log in to Docker Hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_TOKEN }} + - name: Push to Docker Hub + uses: docker/build-push-action@v2 + with: + context: . + push: true + tags: georgikrocks/esp-idf-rust:latest