Skip to content

Commit

Permalink
Merge pull request #1 from watbulb/ci-test
Browse files Browse the repository at this point in the history
Create docker-image.yml workflow
  • Loading branch information
watbulb authored Sep 8, 2024
2 parents aa9a3b2 + d75acb4 commit 594be23
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Docker Image CI

on:
push:
branches: [ "main", "ci-test" ]
pull_request:
branches: [ "main", "ci-test", "tt08", "tt09" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker base image
run: docker build -t ol2-base -f docker/base.dockerfile .
- name: Build the Docker main image
run: docker build -t ol2-main -f docker/ol2.dockerfile .
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## TinyTapeout Local Linux Toolchain Builder

![docker-build](https://github.com/watbulb/tt-toolchain-build/actions/workflows/docker-image.yml/badge.svg)

**Current Version: TT08**

**Disk Requirement: ~13-15GB**
Expand Down Expand Up @@ -95,4 +97,4 @@ $ ./fly-machine.sh update ol2-main

### TODO:

- [ ] Extract docker build to standard bash scripts
- [ ] Extract docker build to standard bash scripts
2 changes: 1 addition & 1 deletion docker/ol2.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ RUN chmod +x /*.sh
# Public Keys
COPY pubkey/* /root/.ssh/
RUN cat /root/.ssh/*.pub >> /root/.ssh/authorized_keys && \
rm /root/.ssh/*.pub
rm -f /root/.ssh/*.pub

# Profile
RUN echo "source $VOLUME_ROOT/syn.env && cd $VOLUME_ROOT" >> ~/.profile
Expand Down
1 change: 1 addition & 0 deletions pubkey/dummy.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC/k/QhVeQ0LRfbQ1Fjxj/Emgbj+RcO5a1sr+YlqYO3IUUOaLa0XhEWwO6JUfaMv56edYVDxp1b1yRpvsvDa9WhtherV+9w8wiTDWJbUUYf27TOvzYyLwlyEVLjQFj37m6SEsZ+WHUa2HnMVhvMDZdx07CD84mG3rN57KiSWfW1lCZLJ8mlv4bjH/XrF3FgOzg+UXgMN4NdTEgq3ACwBw/lbcLdbDts3ICx/0kFD5BMFyjX3+xuimhJweuf3tdB+rxrSzX3F/V9N49bQSV4G0ai0I89PT/zUNB70j1it7LVKKaPL6WTX4aq0ghds6wvsxPYLTWxHo7Bhv8vH2n+T+EjxlY/65fqccewG6tbS92gQ/S/mjh1zNT4sxi50jvjhiR2CSb0YZ4pr3ZWOPU0IvDT8bH5EFbqsNAQAgTXWRqNROgZ0MN7t2Sc2k2zwePj7nclLLV/H818dGicU9Q0PqN0H1fxCAdwweywpWqJ6Aewsli0RLAfRK1K5JxMdFV5h+8= root@56830376c43918

0 comments on commit 594be23

Please sign in to comment.