Fixed missing file and updated build

This commit is contained in:
Sambo Chea 2021-03-26 14:14:58 +07:00
parent 154a3c1b88
commit 274098560d
3 changed files with 35 additions and 1 deletions

29
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,29 @@
# This is a basic workflow to help you get started with Actions
name: CI
on:
push:
branches:
- 'master'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_SECRET }}
-
name: Checkout
uses: actions/checkout@v2
-
name: Build and Push from Makefile
run: |
make build

View File

@ -5,7 +5,7 @@ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
ENV TIMEZ=Asia/Phnom_Penh
RUN echo "Start building the openjdk11..."
RUN mkdir -p /src/cubetiq/build
COPY lic.txt version.txt /src/cubetiq/build/
COPY LICENSE version.txt /src/cubetiq/build/
RUN echo "Starting setting up timezone to ${TIMEZ}..."
# For Alpine

5
version.txt Normal file
View File

@ -0,0 +1,5 @@
os: calpine-os-linux 3.13.3
openjdk11: jdk11u
author: sombochea
company: cubetiq solution
build: 26/03/2021