Skip to content

build(deps-dev): bump eslint from 8.57.0 to 9.14.0 #2584

build(deps-dev): bump eslint from 8.57.0 to 9.14.0

build(deps-dev): bump eslint from 8.57.0 to 9.14.0 #2584

Workflow file for this run

name: Docker
on:
push:
branches:
- main
tags:
- v*
pull_request:
env:
IMAGE_NAME: my-personal-web
jobs:
docker-build:
runs-on: ubuntu-24.04
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
- name: Run tests
run: docker build . --file Dockerfile
push:
runs-on: ubuntu-24.04
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: |
berviantoleo/${{ env.IMAGE_NAME }}
ghcr.io/${{ github.repository }}
- name: Build and push Docker images
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}