Skip to content

fix: docker image

fix: docker image #7

Workflow file for this run

name: Main
on: push
env:
github_username: ${{ github.actor }}
github_password: ${{ secrets.GITHUB_TOKEN }}
GIT_COMMIT: ${{ github.sha }}
jobs:
Build:
runs-on: ubuntu-latest
container: gradle:6-jdk11
steps:
- name: "checkout: repo"
uses: actions/checkout@v4
- name: "build: application"
run: ci/build-app.sh
- name: "test: application"
run: ci/unit-test-app.sh
- name: "upload: repo"
uses: actions/upload-artifact@v4
with:
name: code
path: .
include-hidden-files: true
Lint:
runs-on: ubuntu-latest
needs: [Build]
steps:
- name: "download: artifact"
uses: actions/download-artifact@v4
with:
name: code
path: .
- name: "run: lint"
uses: super-linter/super-linter/slim@v7
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISABLE_ERRORS: true
Docker:
runs-on: ubuntu-latest
needs: [Build]
steps:
- name: "download: artifact"
uses: actions/download-artifact@v4
with:
name: code
path: .
- name: "build: docker"
run: bash ci/build-docker.sh
- name: "deploy: docker"
run: bash ci/push-docker.sh