This repository was archived by the owner on Aug 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +35
-0
lines changed
Expand file tree Collapse file tree 4 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : publish_container_ci
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - ' ci/**'
9+
10+ jobs :
11+ publish-container :
12+ name : Publish Container
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Login to GitHub Container Registry
16+ uses : docker/login-action@v2
17+ with :
18+ registry : ghcr.io
19+ username : ${{ github.actor }}
20+ password : ${{ secrets.GITHUB_TOKEN }}
21+ - name : Publish Container
22+ run : ./ci/publish.sh
Original file line number Diff line number Diff line change 1+ . ./ publish.sh
Original file line number Diff line number Diff line change 1+ cd rome-ci-x86-64-centos7
2+ docker build . --tag ghcr.io/rome/rome-ci-x86-64-centos7:latest
3+ docker push ghcr.io/rome/rome-ci-x86-64-centos7:latest
4+ cd ..
Original file line number Diff line number Diff line change 1+ FROM centos:centos7
2+ SHELL ["/bin/bash" , "--login" , "-c" ]
3+ RUN yum update -y
4+ RUN yum install gcc gcc-c++ make openssl-devel git -y
5+ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
6+ RUN nvm install 14
7+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
8+ RUN cargo install cargo-audit
You can’t perform that action at this time.
0 commit comments