Skip to content

Commit

Permalink
test create
Browse files Browse the repository at this point in the history
  • Loading branch information
alerman committed Dec 26, 2023
1 parent b78d58d commit b8975f3
Showing 1 changed file with 12 additions and 19 deletions.
31 changes: 12 additions & 19 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Create and publish a Docker image
# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
push:
branches: ['main']
branches: ['temp-create-packages']

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
Expand All @@ -16,6 +16,14 @@ env:
jobs:
build-and-push-support-images:
runs-on: ubuntu-latest
strategy:
matrix:
value:
- datawave-audit-service
- datawave-hazelcase-service
- datawave-config-service
- datawave-authorization-service
- datawave-dictionary-service
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
Expand All @@ -40,24 +48,9 @@ jobs:
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
- name: Build and push Docker base image
- name: Push images to create packages for the ones i dont have access to create
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: datawave-base/
context: datawave-base
push: true
tags: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-base:${{ github.ref_name }}"
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Docker hadoop image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: datawave-hadoop/
push: true
tags: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-hadoop:${{ github.ref_name }}"
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Docker accumulo image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: datawave-accumulo/
push: true
tags: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-accumulo:${{ github.ref_name }}"
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ env.REGISTRY }}/${{ matrix.value}}:${{ github.ref_name }}"

0 comments on commit b8975f3

Please sign in to comment.