Skip to content

fix: push to ghcr.io #28

fix: push to ghcr.io

fix: push to ghcr.io #28

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ develop ]
pull_request:
branches: [ none ]
# this is to manually trigger the worklow
workflow_dispatch:
inputs:
logLevel:
description: 'Reason'
default: 'Manual launch'
jobs:
build:
# this step use only simple scripts commands
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: docker login
run: |
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Build the Docker image
# docker build [directory] --file [file] --tag [tag]
run: docker build build --file build/Dockerfile --tag ${{ secrets.DOCKER_USER }}/jeedom:test
- name: Docker Push
run: docker push ${{ secrets.DOCKER_USER }}/jeedom:test