fix(utils): fix the compilation error on FreeBSD caused by the undefi… #166
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
name: Docker Image CI | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the Docker image | |
env: | |
docker_repo: melonc | |
image_name: melon | |
tag: latest | |
run: | | |
docker login --username=${{ secrets.DOCKER_USERNAME }} --password=${{ secrets.DOCKER_PASSWORD }} | |
docker build . --file Dockerfile --tag $docker_repo/$image_name:$tag | |
docker push $docker_repo/$image_name:$tag |