Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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/*
26 changes: 26 additions & 0 deletions .github/workflows/image_build_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Image build, test, push
on:
pull_request:
workflow_dispatch:
push:
tags:
- '*'
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"]