Skip to content

cc-in-docker

cc-in-docker #23

Workflow file for this run

name: "cc-in-docker"
on:
workflow_dispatch:
jobs:
build:
name: Create Release
runs-on: ubuntu-20.04
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Registry Login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: https://github.com/rails-lambda/lamby-cookiecutter/tree/jlp-docker
platforms: linux/amd64,linux/arm64/v8
push: true
tags: ghcr.io/rails-lambda/lamby-cookiecutter:latest