Skip to content

Merge pull request #15 from SAP/dependabot/docker/golang-1.22 #9

Merge pull request #15 from SAP/dependabot/docker/golang-1.22

Merge pull request #15 from SAP/dependabot/docker/golang-1.22 #9

name: build-cloud-robotics-images
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '**/*.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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 docker images
run: make REGISTRY=ghcr.io/${REPO} docker-images
- name: Push docker images
run: make REGISTRY=ghcr.io/${REPO} docker-push