Clean JSON Exception and replace type() by isinstance() #136
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: 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 |