Skip to content

building container - code cli #9

building container - code cli

building container - code cli #9

name: build container - code cli
run-name: building container - code cli
on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:
jobs:
build:
permissions:
contents: read
packages: write
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run podman build - code-cli
run: podman build -t ghcr.io/gbraad-devenv/fedora/code-cli:41 -f containers/Containerfile-code-cli .
- name: Push image to ghcr.io - code-cli
run: podman push --creds=${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} ghcr.io/gbraad-devenv/fedora/code-cli:41