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

GitHub Workflow to create V3 ACA docker images and manifest #699

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

iadgovuser29
Copy link
Collaborator

@iadgovuser29 iadgovuser29 commented Feb 1, 2024

Closes #641.

Automates creation of docker images that launch the ACA on Windows and Linux. The last step joins the images into a single manifest.

docker run -d -p 8443:8443 ghcr.io/nsacyber/hirs/aca:936e119

This command should work the same on Windows or Linux. It will download the image appropriate for your OS.

The workflow is set up to launch when a release is published. It can also be triggered manually by anyone with write access to our packages.

Two versions of Windows are necessary. The Windows 11 version won't run on Windows 10.

@iadgovuser29 iadgovuser29 added enhancement New feature or request server labels Feb 1, 2024
@iadgovuser29 iadgovuser29 added this to the Rocky 8 Migration milestone Feb 1, 2024
@iadgovuser29 iadgovuser29 self-assigned this Feb 1, 2024
@iadgovuser29
Copy link
Collaborator Author

https://github.com/nsacyber/HIRS/actions/runs/7732664243

This link shows the steps GitHub actions took to create the image version in the description above.

Setup gathers some global variables used in subsequent steps.

It then creates the docker images for each arch in parallel.

Once all those are done, it creates the manifest and pushes to the public URI.

@iadgovuser29 iadgovuser29 merged commit 97608e6 into main Feb 1, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants