Skip to content

Build docker gcc/clang 7 #2

Build docker gcc/clang 7

Build docker gcc/clang 7 #2

Workflow file for this run

name: Build docker gcc/clang 7
on:
# workflow_dispatch - manual start build from action menu
workflow_dispatch:
jobs:
dev-images:
runs-on: ubuntu-latest
steps:
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.PACKAGES_GITHUB_USER }}
password: ${{ secrets.PACKAGES_GITHUB_TOKEN }}
- name: Build and push base image
uses: docker/build-push-action@v6
with:
file: ./dev-images/Dockerfile.gcc-clang7
push: true
tags: ghcr.io/colorer/gcc7-clang7:latest
cache-from: type=registry,ref=ghcr.io/colorer/gcc7-clang7:latest
cache-to: type=inline