d3vyce.fr/.gitea/workflows/docker-build.yml
d3vyce a10e7074a2
Some checks failed
docker-build
Fix docker build
2023-04-02 08:54:02 -04:00

19 lines
529 B
YAML

name: Docker-build
on: [push]
jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up docker
run: |
apt update
apt install -y docker.io
echo '{ "insecure-registries":["10.0.0.3:5000"] }' > /etc/docker/daemon.json
service docker restart
- name: Build/Push
run: |
docker build -t d3vyce.fr .
docker tag d3vyce.fr 10.0.0.3:5000/d3vyce
docker push 10.0.0.3:5000/d3vyce