Skip to content

CI container

CI container #3

Workflow file for this run

name: build
on:
push:
branches:
- master
- main
- develop
jobs:
container-crop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: build & push image
run: |
IMAGE_ID=ghcr.io/terradue/calrissian-session/calrissian-session
docker build . --file Dockerfile --tag $IMAGE_ID:latest
docker push $IMAGE_ID:latest