-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from Exabyte-io/update/SOF-7161
SOF-7161: cove peerDependency
- Loading branch information
Showing
6 changed files
with
485 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,22 +9,33 @@ inputs: | |
runs: | ||
using: composite | ||
steps: | ||
- name: Pull base image | ||
uses: ./actions/docker/ecr | ||
id: login-ecr | ||
- name: Cache Docker images. | ||
uses: ScribeMD/[email protected] | ||
with: | ||
ecr-repository: centos-7.9-base | ||
aws-access-key-id: ${{ inputs.aws-access-key-id }} | ||
aws-secret-access-key: ${{ inputs.aws-secret-access-key }} | ||
image-tag: latest | ||
action: pull | ||
key: docker-${{ runner.os }}-${{ hashFiles('package.json') }} | ||
|
||
# - name: Pull base image | ||
# uses: ./actions/docker/ecr | ||
# id: login-ecr | ||
# with: | ||
# ecr-repository: centos-7.9-base | ||
# aws-access-key-id: ${{ inputs.aws-access-key-id }} | ||
# aws-secret-access-key: ${{ inputs.aws-secret-access-key }} | ||
# image-tag: latest | ||
# action: pull | ||
|
||
- name: Build base image | ||
uses: ./actions/docker/build | ||
with: | ||
image-name: centos-base | ||
dockerfile: ./dockerfiles/centos/Dockerfile | ||
|
||
- name: Build container | ||
uses: ./actions/docker/build | ||
with: | ||
image-name: wave-test | ||
dockerfile: ./dockerfiles/app/Dockerfile | ||
cli-args: --build-arg BASE_IMAGE=${{ steps.login-ecr.outputs.registry }}/centos-7.9-base | ||
cli-args: --build-arg BASE_IMAGE=centos-base | ||
|
||
- name: Run tests | ||
shell: bash -l {0} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.