Skip to content

Merge pull request #283 from redhat-developer/dependabot/npm_and_yarn… #170

Merge pull request #283 from redhat-developer/dependabot/npm_and_yarn…

Merge pull request #283 from redhat-developer/dependabot/npm_and_yarn… #170

Workflow file for this run

name: next-build.yaml
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Log in to ghcr.io
uses: redhat-actions/podman-login@v1
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
- name: Build Image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: ${{ github.repository }}
tags: |
next
${{ github.sha }}
containerfiles: ./Containerfile
extra-args: |
--squash
- name: Push Image
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: ghcr.io