Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Improvements and error handling #8

Improvements and error handling

Improvements and error handling #8

name: Publication sur Docker Hub
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout du dépôt
uses: actions/checkout@v4
- name: Compilation vers image Docker
run: sudo docker build -t dimitridr/yaot:latest .
- name: Connexion à Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Publication sur Docker Hub (latest)
run: docker push dimitridr/yaot:latest