Bump @typescript-eslint/parser from 8.26.1 to 8.28.0 #1252
This file contains 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" | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
pull_request: | |
branches: | |
- main | |
merge_group: | |
schedule: | |
- cron: "0 0 * * *" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
PLATFORMS: "linux/amd64,linux/arm/v7,linux/arm64/v8" | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
id: qemu | |
with: | |
platforms: ${{ env.PLATFORMS }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to ghcr.io | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Extract metadata from repository | |
uses: docker/metadata-action@v5 | |
id: meta | |
with: | |
images: ghcr.io/${{ github.repository }} | |
- name: Build Docker image | |
uses: docker/build-push-action@v6 | |
with: | |
push: false | |
platforms: ${{ env.PLATFORMS }} | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- name: Push Docker image to registry | |
uses: docker/build-push-action@v6 | |
if: startsWith(github.ref, 'refs/tags/v') | |
with: | |
push: true | |
platforms: ${{ env.PLATFORMS }} | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
# - name: Check Health status | |
# run: | | |
# docker run -d --name qrcode-test qr-code:test | |
# state=$(docker inspect -f '{{ .State.Health.Status}}' qrcode-test) | |
# if [ $state != "starting" ]; then | |
# exit 1 | |
# fi | |
# sleep 10 | |
# state=$(docker inspect -f '{{ .State.Health.Status}}' qrcode-test) | |
# docker stop qrcode-test | |
# if [ $state == "healthy" ]; then | |
# exit 0 | |
# else | |
# exit 1 | |
# fi |