Skip to content
Draft
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
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ CMS_ADMIN_USER=
CMS_ADMIN_PASSWORD=

CMS_RANKING_USER=ranking
CMS_RANKING_PASSWORD=
CMS_RANKING_PASSWORD=

# CMS_CONTEST_ID=1 # If CMS_CONTEST_ID not specified, contest will list all.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CMS Base Image

on:
push:
branches: [ "master", "feature/github-actions" ]
# paths:
# - 'images/**'

jobs:
base-build:
name: CMS Base Image Build
runs-on: ubuntu-20.04
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: true
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: CMS Base Image Build & push
uses: docker/build-push-action@v3
with:
file: images/cms-base/Dockerfile
context: .
push: true
tags: tico88612/cms-base:latest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.env
data/**