d3vyce.fr/.gitea/workflows/docker-build.yml
d3vyce 18c8cc3427
All checks were successful
docker-build
Fix docker build
2023-04-02 09:36:04 -04:00

18 lines
534 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
- name: Build/Push
run: |
docker login -u ${{ github.actor }} -p ${{ secrets.GIT_TOKEN }} git.d3vyce.fr
docker build -t d3vyce.fr .
docker tag d3vyce.fr git.d3vyce.fr/d3vyce/d3vyce.fr:latest
docker push git.d3vyce.fr/d3vyce/d3vyce.fr:latest