Skip to content

Bump python from 3.9-slim to 3.12-slim (#76) #36

Bump python from 3.9-slim to 3.12-slim (#76)

Bump python from 3.9-slim to 3.12-slim (#76) #36

name: build-ewm-cloud-robotics-images
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '**/*.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install skaffold
run: |
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 && \
sudo install skaffold /usr/local/bin/ && \
rm -f skaffold
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: lowercase repo
run: |
echo "REPO=$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]')" >>${GITHUB_ENV}
- name: Build and push images with v20060102-gitSHA tag
run: skaffold build --default-repo ghcr.io/${REPO} -p push-all
- name: Push images with latest tag
run: skaffold build --default-repo ghcr.io/${REPO} -p push-all-latest