d3vyce.fr/.gitea/workflows/docker-build-dev.yml
d3vyce 92f2588d74
Some checks failed
Docker-build-dev / docker-build (push) Failing after 30s
Update gitea url
2023-11-12 21:44:16 +01:00

21 lines
588 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 ${{ secrets.GIT_TOKEN }} | docker login -u ${{ github.actor }} --password-stdin git.mars.local
docker build -t d3vyce.fr .
docker tag d3vyce.fr git.mars.local/d3vyce/d3vyce.fr:dev
docker push git.mars.local/d3vyce/d3vyce.fr:dev