Some checks failed
Build Minecore UDP check image / Build-Minecraft-Stats-Image (push) Has been cancelled
24 lines
1.1 KiB
YAML
24 lines
1.1 KiB
YAML
name: Build Minecore UDP check image
|
|
run-name: Build Minecore UDP check image
|
|
on: [push]
|
|
jobs:
|
|
Build-Minecraft-Stats-Image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Prepare | Setup git
|
|
run: |
|
|
git config --global user.name "Radim Lipovčan"
|
|
git config --global user.email "radim@lipovcan.cz"
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Build | Install Docker
|
|
run: |
|
|
apt-get update && apt-get install docker.io -y
|
|
|
|
- name: Docker | Build
|
|
run: |
|
|
echo "${{ secrets.DOCKERHUB_GITEA_TOKEN }}" | docker login -u ownercz --password-stdin
|
|
ls -lah
|
|
docker build -f Dockerfile -t ownercz/minecore-bedrock-check:latest -t ownercz/minecore-bedrock-check:${{env.GITHUB_SHA}} .
|
|
docker push ownercz/minecore-bedrock-check:latest
|
|
docker push ownercz/minecore-bedrock-check:${{env.GITHUB_SHA}} |