Skip to content

Fix podman run command in CI #3

Fix podman run command in CI

Fix podman run command in CI #3

Workflow file for this run

name: Build Images
on: [push]
jobs:
build:
name: Build image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get current date
id: date
run: echo "::set-output name=date::$(date -u +'%Y-%m-%dT%H:%m:%SZ')"
- name: Buildah Action
uses: redhat-actions/buildah-build@v2
with:
image: docker.io/groovytron/python
tags: 3.12 3.12-${{ github.sha }}
containerfiles: |
./3.12/Dockerfile
build-args: |
BUILD_DATE=${{ steps.date.outputs.date }}
VCS_REF=${{ github.sha }}
POETRY_VERSION=1.8.4
- name: Test the image
run: |
podman run \
-it \
--volume $(pwd):/var/www/app:rw \
--user dev \
docker.io/groovytron/python:3.12 \
bash ./test.sh