Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/publish_container_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: publish_container_ci
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'ci/**'

jobs:
publish-container:
name: Publish Container
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Container
run: ./ci/publish.sh
1 change: 1 addition & 0 deletions ci/publish.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
. ./publish.sh
4 changes: 4 additions & 0 deletions ci/publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cd rome-ci-x86-64-centos7
docker build . --tag ghcr.io/rome/rome-ci-x86-64-centos7:latest
docker push ghcr.io/rome/rome-ci-x86-64-centos7:latest
cd ..
8 changes: 8 additions & 0 deletions ci/rome-ci-x86-64-centos7/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM centos:centos7
SHELL ["/bin/bash", "--login", "-c"]
RUN yum update -y
RUN yum install gcc gcc-c++ make openssl-devel git -y
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
RUN nvm install 14
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN cargo install cargo-audit