Some checks failed
Docker / docker (push) Failing after 26s
Interface web pour noter rapidement les films non notés sur Trakt. Enrichissement TMDB (titres/résumés FR), notation 1-10 en un clic, bouton passer, filtres, tri, pagination. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
name: Docker
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: install docker cli
|
|
run: |
|
|
apt-get update -qq
|
|
apt-get install -y -qq ca-certificates curl gnupg
|
|
install -m 0755 -d /etc/apt/keyrings
|
|
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
|
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bullseye stable" > /etc/apt/sources.list.d/docker.list
|
|
apt-get update -qq
|
|
apt-get install -y -qq docker-ce-cli
|
|
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: login
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: forge.dilain.com
|
|
username: laurent
|
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
|
|
- name: build and push
|
|
run: |
|
|
docker build \
|
|
-t forge.dilain.com/laurent/trakt-rater:main \
|
|
-t forge.dilain.com/laurent/trakt-rater:latest \
|
|
.
|
|
docker push forge.dilain.com/laurent/trakt-rater:main
|
|
docker push forge.dilain.com/laurent/trakt-rater:latest
|