Fixed missing file and updated build
This commit is contained in:
parent
154a3c1b88
commit
274098560d
29
.github/workflows/docker.yml
vendored
Normal file
29
.github/workflows/docker.yml
vendored
Normal 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
|
@ -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
5
version.txt
Normal file
@ -0,0 +1,5 @@
|
||||
os: calpine-os-linux 3.13.3
|
||||
openjdk11: jdk11u
|
||||
author: sombochea
|
||||
company: cubetiq solution
|
||||
build: 26/03/2021
|
Loading…
Reference in New Issue
Block a user