Skip to content

Fix spelling, add comments and fix .props not returning props that ar… #1946

Fix spelling, add comments and fix .props not returning props that ar…

Fix spelling, add comments and fix .props not returning props that ar… #1946

Workflow file for this run

on: [push, workflow_dispatch]
name: "Main pipeline: build, lint, test"
jobs:
earthly:
name: Earthly
runs-on: ubuntu-latest
env:
EARTHLY_TOKEN: ${{ secrets.EARTHLY_TOKEN }}
steps:
- uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: "latest"
- uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: joepmeneer
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: joepmeneer/atomic-server
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Earthly +tests
run: earthly --org ontola --ci --sat henk -P +tests
- name: Earthly +builds
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
run: earthly --org ontola --ci --sat henk -P --push +builds --tags="${{ steps.meta.outputs.tags }}"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: ./artifact