Skip to content

chore(deps-dev): bump @types/node from 22.7.3 to 22.8.1 (#183) #267

chore(deps-dev): bump @types/node from 22.7.3 to 22.8.1 (#183)

chore(deps-dev): bump @types/node from 22.7.3 to 22.8.1 (#183) #267

name: Docker Image CI
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract version and set it to TAG env var
run: echo "TAG=$(jq -r '.version' package.json)" >> $GITHUB_ENV
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
${{ secrets.DOCKERHUB_REPO }}:latest
${{ secrets.DOCKERHUB_REPO }}:${{ env.TAG }}
labels: ${{ steps.meta.outputs.labels }}