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

Build Docker image #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Build Docker image #4

wants to merge 1 commit into from

Conversation

duhow
Copy link

@duhow duhow commented Jan 29, 2023

  • Added Dockerfile that builds from source code.
  • Allows args to build different arch, based on Publish profile.
  • Added GitHub Actions Workflow to build on each commit to master and git tag.

Expected image would be ghcr.io/konamiman/nestor80 .
This can later be used to assemble code on other repos.

@Konamiman
Copy link
Owner

Looks great, thanks! But I'm not very familiar with docker, how could I test your changes?

@duhow
Copy link
Author

duhow commented Jan 31, 2023

Once the Docker image is published (after new tag):

docker run --rm -it -v $PWD:/code -w /code ghcr.io/konamiman/nestor80:latest --opciones archivo.asm 

This can also be used in other GitHub repos with GitHub Actions:

- uses: actions/checkout@v3
- name: Run N80
  uses: docker://ghcr.io/konamiman/nestor80:latest
  with:
    args: FILE.ASM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants