Update FUNDING #198
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
name: Build Docker image | |
jobs: | |
gitHubActionForMaven: | |
name: GitHub Action for Maven | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Pull and organize front-end dependencies | |
run: | | |
npm ci | |
npm run install-front | |
- name: Pull submodule | |
run : | | |
git submodule init | |
git submodule update | |
- name: GitHub Action for Maven | |
uses: LucaFeger/action-maven-cli@1.1.0 | |
with: | |
args: clean package | |
- name: Build and push Image | |
env: | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
run: | | |
echo "${DOCKER_PASSWORD}" | docker login -u ${DOCKER_USERNAME} --password-stdin | |
docker build -t difegue/doujinsoft -f ./Docker/Dockerfile . | |
docker push difegue/doujinsoft |