Some checks failed
Docker build and push / terraform (push) Failing after 13s
Signed-off-by: Artémis Michelot <artemis.michelot@gmail.com>
27 lines
618 B
YAML
27 lines
618 B
YAML
name: Docker build and push
|
|
|
|
on:
|
|
push:
|
|
|
|
env:
|
|
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
|
|
|
|
jobs:
|
|
terraform:
|
|
runs-on: ubuntu-dind-noble
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Docker login
|
|
run: |
|
|
echo "${AUTH_TOKEN}" | docker login gitea.dotty.fr -u gitea --password-stdin
|
|
|
|
- name: Docker build
|
|
run: |
|
|
docker build . -t gitea.dotty.fr/dotty/freebox_cert_update/freebox_cert_update:latest
|
|
|
|
- name: Docker push
|
|
run: |
|
|
docker push gitea.dotty.fr/dotty/freebox_cert_update/freebox_cert_update:latest
|