Skip to content

add k8s containerisation #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git
.gitignore
t/*
22 changes: 22 additions & 0 deletions .github/workflows/image_build_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Image build, test, push
on:
push:
branches:
- master

env:
DOCKERFILE_PATH: "./Dockerfile"

jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: regentmarkets/ci-actions-docker-build/build_and_test@9978e2f284d4655921af9b69737e5e9ed0d3a3ff #v0.0.3
with:
project_type: skip
dockerfile: ${{ env.DOCKERFILE_PATH }}
organisation: regentmarkets
trivy_ignore: ".trivyignore"
push: true
username: circle4regentmarkets
password: ${{ secrets.DOCKER_PASSWORD }}
1 change: 1 addition & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AVD-DS-0002
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM busybox:1.36.1
COPY ./ /src
CMD ["cp", "-r", "/src", "/home/git/binary-com/translations-websockets-api"]