Skip to content

Bump actions/upload-artifact from 3.1.2 to 3.1.3 #393

Bump actions/upload-artifact from 3.1.2 to 3.1.3

Bump actions/upload-artifact from 3.1.2 to 3.1.3 #393

Workflow file for this run

name: Deliver Container Image
on:
pull_request:
types: [opened, reopened, synchronize]
env:
IMAGE_NAME: paddock
IMAGE_TAGS: ${{ github.sha }}
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: read
# https://github.com/pre-commit/action/issues/7#issuecomment-1251300704
# run only on changed files
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v3.5.2
- name: Buildah Action
id: build_image
uses: redhat-actions/buildah-build@b4dc19b4ba891854660ab1f88a097d45aa158f76 # v2.12
with:
image: ${{ env.IMAGE_NAME }}
tags: ${{ env.IMAGE_TAGS }}
oci: true
context: components/paddock
containerfiles: |
./components/paddock/Containerfile