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