build(deps-dev): bump eslint-config-next from 12.3.1 to 14.0.1 #654
Workflow file for this run
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: Publish | |
on: | |
push: | |
branches: [main] | |
tags: ["v*"] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: publish-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
publish-docker-images: | |
runs-on: ubuntu-22.04 | |
if: github.event_name != 'pull_request' | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up context | |
id: project_context | |
uses: FranzDiebold/[email protected] | |
- name: Extract metadata (tags, labels) for Docker | |
id: docker_metadata | |
uses: docker/metadata-action@v5 | |
with: | |
images: ghcr.io/${{ github.repository }},${{ github.repository }} | |
tags: | | |
type=raw,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},value=nightly | |
type=semver,pattern={{version}} | |
type=semver,pattern={{major}}.{{minor}} | |
type=semver,pattern={{major}} | |
labels: | | |
org.opencontainers.image.vendor=OKP4 | |
- name: Login to OKP4 Docker registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ secrets.DOCKER_REGISTRY_ID }} | |
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }} | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_REGISTRY_ID }} | |
password: ${{ secrets.DOCKER_HUB_REGISTRY_TOKEN }} | |
- name: Build and publish image(s) | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
platforms: linux/amd64 | |
push: true | |
tags: ${{ steps.docker_metadata.outputs.tags }} | |
labels: ${{ steps.docker_metadata.outputs.labels }} |