This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Update to be able to watch updated grades. #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |