Skip to content

chore: fix simple error in workflow (#27) #39

chore: fix simple error in workflow (#27)

chore: fix simple error in workflow (#27) #39

Workflow file for this run

name: Earthly main branch +build
on:
workflow_dispatch:
push:
branches:
- main
env:
FORCE_COLOR: 1
jobs:
build:
permissions:
packages: write
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: earthly/actions-setup@v1
with:
use-cache: true
version: v0.8.2
# Setup repo and add caching
- uses: actions/checkout@v4
with:
ref: main
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run build
run: earthly --push --ci -P +build