Skip to content

Commit 2333d63

Browse files
authored
Merge pull request #21 from earthly/nacho/improve-build
Release on tag
2 parents 4dd1434 + eaac113 commit 2333d63

File tree

3 files changed

+40
-3
lines changed

3 files changed

+40
-3
lines changed

.github/workflows/ci-tag.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
push:
3+
tags:
4+
- 'v*.*.*'
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
env:
9+
FORCE_COLOR: 1
10+
EARTHLY_CONVERSION_PARALLELISM: "5"
11+
EARTHLY_TOKEN: "${{ secrets.EARTHLY_TOKEN }}"
12+
EARTHLY_INSTALL_ID: "earthly-lib-githubactions"
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: earthly/actions/setup-earthly@v1
16+
- name: Set env
17+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
18+
- name: Release
19+
# run: earthly --org earthly-technologies --satellite lib --push +publish --version=$RELEASE_VERSION
20+
# For testing purposes lets use +build before trying +publish
21+
run: earthly --org earthly-technologies --satellite lib --push +build --version=$RELEASE_VERSION

Earthfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
VERSION 0.6
1+
VERSION 0.7
22
ARG gradle_version=8.2.1
33
FROM gradle:${gradle_version}-jdk17
44
RUN apt-get update && apt-get install -y \
55
zip \
66
&& rm -rf /var/lib/apt/lists/*
7-
ARG version=0.0.0
8-
ARG bundle="github.com/earthly/earthfile-grammar+export/"
7+
ARG --global version=0.0.0
8+
ARG --global bundle="github.com/earthly/earthfile-grammar+export/"
99
COPY settings.gradle.kts build.gradle.kts ./
1010
COPY scripts scripts
1111
COPY src src

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,19 @@ earthly --push +publish --version=<version>
4646
```
4747
earthly +ide
4848
```
49+
50+
## Contributing
51+
52+
### Code of Conduct
53+
54+
Please refer to the [CNCF Community Code of Conduct v1.0](https://github.com/cncf/foundation/blob/main/code-of-conduct.md)
55+
56+
### CLA
57+
58+
#### Individual
59+
60+
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.
61+
62+
#### Entity
63+
64+
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 commit comments

Comments
 (0)