Skip to content

Commit

Permalink
Merge pull request #21 from earthly/nacho/improve-build
Browse files Browse the repository at this point in the history
Release on tag
  • Loading branch information
idelvall authored Dec 1, 2023
2 parents 4dd1434 + eaac113 commit 2333d63
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
tags:
- 'v*.*.*'
jobs:
test:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
EARTHLY_CONVERSION_PARALLELISM: "5"
EARTHLY_TOKEN: "${{ secrets.EARTHLY_TOKEN }}"
EARTHLY_INSTALL_ID: "earthly-lib-githubactions"
steps:
- uses: actions/checkout@v2
- uses: earthly/actions/setup-earthly@v1
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
- name: Release
# run: earthly --org earthly-technologies --satellite lib --push +publish --version=$RELEASE_VERSION
# For testing purposes lets use +build before trying +publish
run: earthly --org earthly-technologies --satellite lib --push +build --version=$RELEASE_VERSION
6 changes: 3 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
VERSION 0.6
VERSION 0.7
ARG gradle_version=8.2.1
FROM gradle:${gradle_version}-jdk17
RUN apt-get update && apt-get install -y \
zip \
&& rm -rf /var/lib/apt/lists/*
ARG version=0.0.0
ARG bundle="github.com/earthly/earthfile-grammar+export/"
ARG --global version=0.0.0
ARG --global bundle="github.com/earthly/earthfile-grammar+export/"
COPY settings.gradle.kts build.gradle.kts ./
COPY scripts scripts
COPY src src
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,19 @@ earthly --push +publish --version=<version>
```
earthly +ide
```

## Contributing

### Code of Conduct

Please refer to the [CNCF Community Code of Conduct v1.0](https://github.com/cncf/foundation/blob/main/code-of-conduct.md)

### CLA

#### Individual

All contributions must indicate agreement to the [Earthly Contributor License Agreement](https://gist.github.com/vladaionescu/ed990fa149a38a53ac74b64155bc6766) by logging into GitHub via the CLA assistant and signing the provided CLA. The CLA assistant will automatically notify the PRs that require CLA signing.

#### Entity

If you are an entity, please use the [Earthly Contributor License Agreement form](https://earthly.dev/cla-form) in addition to requiring your individual contributors to sign all contributions.

0 comments on commit 2333d63

Please sign in to comment.