Skip to content

Clean JSON Exception and replace type() by isinstance() #136

Clean JSON Exception and replace type() by isinstance()

Clean JSON Exception and replace type() by isinstance() #136

name: Docker-Image-Build-CI-DEV
on: push
jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Build the tagged Docker image
run: docker build . --file Dockerfile --tag cyborgbackup/cyborgbackup:dev-$(echo $GITHUB_SHA | cut -c 1-6)
- name: Tag Docker Image to Develop
run: docker tag cyborgbackup/cyborgbackup:dev-$(echo $GITHUB_SHA | cut -c 1-6) cyborgbackup/cyborgbackup:develop
- name: Push the tagged Docker image
run: docker push --all-tags cyborgbackup/cyborgbackup
debian-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Debian package
uses: dawidd6/[email protected]
with:
artifacts_directory: debian_output
- uses: actions/upload-artifact@v4
with:
name: debian-package
path: debian_output