Skip to content

Merge pull request #3 from NeurekaSoftware/codex/fix-type-conversion-… #26

Merge pull request #3 from NeurekaSoftware/codex/fix-type-conversion-…

Merge pull request #3 from NeurekaSoftware/codex/fix-type-conversion-… #26

Workflow file for this run

name: Build and Push Edge
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Ensure image name is lowercase
run: echo "IMAGE_NAME=ghcr.io/${GITHUB_REPOSITORY,,}" >> "$GITHUB_ENV"
- name: Log in to Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push edge
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile
push: true
tags: ${{ env.IMAGE_NAME }}:edge
build-args: |
VERSION=edge-${{ github.sha }}