Skip to content

[WIP] push image to registry #4

[WIP] push image to registry

[WIP] push image to registry #4

name: Build and push
on:
pull_request:
permissions:
pull-requests: write
contents: write
jobs:
test-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo "this is triggered"
- name: Install latest podman
run: |
bash .github/workflows/scripts/install_latest_podman.sh
- name: Build Image
id: build_image
uses: redhat-actions/buildah-build@v2
with:
image: ${{ secret.IMAGE_NAME }}

Check failure on line 23 in .github/workflows/build-push-image.yml

View workflow run for this annotation

GitHub Actions / Build and push

Invalid workflow file

The workflow is not valid. .github/workflows/build-push-image.yml (Line: 23, Col: 16): Unrecognized named-value: 'secret'. Located at position 1 within expression: secret.IMAGE_NAME
layers: false
tags: ${{ github.event.pull_request.number }}
dockerfiles: |
./Dockerfile