Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflows #2

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/accumulo-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ jobs:
mvn -V -B -e -ntp "-Dstyle.color=always" -DskipTests -T1C clean package
cp $GITHUB_WORKSPACE/accumulo/assemble/target/accumulo-*.tar.gz $GITHUB_WORKSPACE/this-repo/datawave-accumulo/files
cd $GITHUB_WORKSPACE

- name: Extract Maven project version
run: echo name=version::$(cd $GITHUB_WORKSPACE/accumulo && mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) >> $GITHUB_OUTPUT
id: project
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
Expand All @@ -71,4 +73,6 @@ jobs:
with:
context: this-repo/datawave-accumulo
push: true
build-args: |
ACCUMULO_VERSION=${{ steps.project.outputs.version }}
tags: ${{ env.REGISTRY }}/datawave-stack-accumulo:${{ github.event.inputs.accumuloBranch || '2.1' }}
Loading