Compare commits
5 Commits
72e6da5951
...
main
Author | SHA1 | Date | |
---|---|---|---|
b0a0022bca | |||
1f627239b5 | |||
31fd8b3606 | |||
a5223845ff | |||
c9bd39553c |
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@@ -2,26 +2,26 @@ name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
main
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Login to Docker Hub
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Set up QEMU
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Build and push
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: brendanhaines/iverilog:latest
|
||||
tags: brendanhaines/iverilog:latest
|
||||
build-args:
|
||||
ANNOTATION_DESCRIPTION="${{ github.server_url }}/${{ github.repository }}"
|
@@ -1,6 +1,5 @@
|
||||
FROM ubuntu:22.04
|
||||
RUN \
|
||||
apt update && \
|
||||
RUN apt update && \
|
||||
apt install -y autoconf gperf make gcc g++ bison flex && \
|
||||
apt clean
|
||||
|
||||
@@ -10,8 +9,7 @@ WORKDIR /iverilog
|
||||
# RUN git clone --recursive https://github.com/steveicarus/iverilog.git
|
||||
|
||||
# BUILD RELEASED CODE
|
||||
RUN \
|
||||
apt update && \
|
||||
RUN apt update && \
|
||||
apt install -y wget && \
|
||||
apt clean
|
||||
RUN wget https://github.com/steveicarus/iverilog/archive/refs/tags/v12_0.tar.gz && \
|
||||
|
Reference in New Issue
Block a user