Skip to content

build(deps): bump tj-actions/changed-files from 35.7.1 to 41.0.0 in /.github/workflows #265

build(deps): bump tj-actions/changed-files from 35.7.1 to 41.0.0 in /.github/workflows

build(deps): bump tj-actions/changed-files from 35.7.1 to 41.0.0 in /.github/workflows #265

Workflow file for this run

name: PR Publish
on:
issue_comment:
types: [created, edited]
concurrency:
group: publish-pr-${{ github.ref }}
cancel-in-progress: true
jobs:
publish-docker-images:
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/publish' }}
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up context
id: project_context
uses: FranzDiebold/github-env-vars-action@v2.7.0
- name: Extract metadata (tags, labels) for Docker
id: docker_metadata
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }},value=${{ env.CI_ACTION_REF_NAME_SLUG }}
labels: |
org.opencontainers.image.vendor=OKP4
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.DOCKER_REGISTRY_ID }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
- name: Build and publish image(s)
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
push: true
tags: ${{ steps.docker_metadata.outputs.tags }}
labels: ${{ steps.docker_metadata.outputs.labels }}