commit 9b4cee94f8f4066a7633103538a9e73216f124ea Author: admin Date: Wed May 20 04:44:40 2026 +0000 Add .github/workflows/dockerx.yml diff --git a/.github/workflows/dockerx.yml b/.github/workflows/dockerx.yml new file mode 100644 index 0000000..0482077 --- /dev/null +++ b/.github/workflows/dockerx.yml @@ -0,0 +1,32 @@ +name: Docker Deployment + +on: + push: + branches: + - "release" + + pull_request: + branches: + - "release" + +jobs: + dockerx: + runs-on: ubuntu-latest + steps: + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + + - name: Build and push + uses: docker/build-push-action@v2 + with: + push: true + tags: ${{ secrets.DOCKERHUB_USERNAME }}/todo-nodejs-vx:${{github.run_number}} \ No newline at end of file