Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Making docker images #2

Making docker images

Making docker images #2

Workflow file for this run

name: Build docker
on:
push:
jobs:
# This is copied from https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build requirements
cmd: make
- name: Build and push Docker image for nodes
id: build-and-push
uses: docker/build-push-action@v4
with:
context: backend
push: true
tags: ghcr.io/c4dt/service-stainless-backend:latest
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v4
with:
context: webapp
push: true
tags: ghcr.io/c4dt/service-stainless-webapp:latest