Skip to content

Bump python version #51

Bump python version

Bump python version #51

Workflow file for this run

name: Expression Classification Branch Build
on:
push:
branches-ignore:
- 'master'
env:
REGISTRY: ghcr.io
jobs:
docker_build_branch:
runs-on: ubuntu-latest
steps:
- name: Branch name
run: echo running on branch ${GITHUB_REF##*/}
- name: Sanitize Repo Name for Tagging
run: echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]' | (read; echo REPO_LOWER=$REPLY) >> $GITHUB_ENV
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ env.REPO_LOWER }}
tags: |
type=ref,event=branch,prefix=branch-
- uses: actions/checkout@v4
- name: Test
run: echo "ghcr.io/${{ env.REPO_LOWER }}:branch-${GITHUB_REF##*/}"
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: |
org.opencontainers.image.source=https://github.com/${{ github.repository }}