d3vyce.fr/.gitea/workflows/docker-build-dev.yml
d3vyce f1e0ac2205
All checks were successful
Docker-build / docker-build (push) Successful in 41s
Actualiser .gitea/workflows/docker-build-dev.yml
2023-11-12 21:47:32 +01:00

22 lines
640 B
YAML

name: Docker-build-dev
on:
push:
branches: [ dev ]
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
- name: Build/Push
run: |
echo "nameserver 10.10.0.1" > /etc/resolv.conf
echo ${{ secrets.GIT_TOKEN }} | docker login -u ${{ github.actor }} --password-stdin git.d3vyce.fr
docker build -t d3vyce.fr .
docker tag d3vyce.fr git.d3vyce.fr/d3vyce/d3vyce.fr:dev
docker push git.d3vyce.fr/d3vyce/d3vyce.fr:dev