build(deps-dev): bump @types/node from 24.5.2 to 24.9.1 (#282) #26
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker Release on Tag | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| build-and-publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 🧾 Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: 🟢 Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 23 | |
| - name: 📦 Install dependencies | |
| run: npm ci | |
| - name: 🏗 Build project | |
| run: npm run build | |
| - name: 🐳 Log in to Docker Hub | |
| run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
| - name: 🐋 Build and push Docker image | |
| run: | | |
| TAG=${GITHUB_REF##*/} | |
| IMAGE=danielsilvestre37/instantiate:$TAG | |
| docker build -t $IMAGE . | |
| docker push $IMAGE | |
| IMAGE=danielsilvestre37/instantiate:latest | |
| docker build -t $IMAGE . | |
| docker push $IMAGE |