diff --git a/.github/workflows/Docker-package.yaml b/.github/workflows/Docker-package.yaml index 3a159dc..06989d9 100644 --- a/.github/workflows/Docker-package.yaml +++ b/.github/workflows/Docker-package.yaml @@ -7,6 +7,7 @@ on: env: IMAGE: code-liberation-front/dbarchive + DKRIMAGE: moyito2604/dbarchive VERSION: 1.0.0 jobs: @@ -28,6 +29,12 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GH_PASS }} + - name: Log in to Docker Hub + uses: docker/login-action@v3.1.0 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_TOKEN }} + - name: Build and Push new Stable Image uses: docker/build-push-action@v5.3.0 with: @@ -36,6 +43,8 @@ jobs: tags: | ghcr.io/${{ env.IMAGE }}:${{ env.VERSION }} ghcr.io/${{ env.IMAGE }}:latest + ${{ env.DKRIMAGE }}:${{ env.VERSION }} + ${{ env.DKRIMAGE }}:latest cache-from: type=registry,ref=ghcr.io/${{ env.IMAGE }}:latest cache-to: type=inline build-args: | diff --git a/.github/workflows/Testing-package.yaml b/.github/workflows/Testing-package.yaml index ba085bd..9b6f61a 100644 --- a/.github/workflows/Testing-package.yaml +++ b/.github/workflows/Testing-package.yaml @@ -7,6 +7,7 @@ on: env: IMAGE: code-liberation-front/dbarchive + DKRIMAGE: moyito2604/dbarchive VERSION: testing jobs: @@ -28,6 +29,12 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GH_PASS }} + - name: Log in to Docker Hub + uses: docker/login-action@v3.1.0 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_TOKEN }} + - name: Build and Push new Testing Image uses: docker/build-push-action@v5.3.0 with: @@ -35,7 +42,7 @@ jobs: push: true tags: | ghcr.io/${{ env.IMAGE }}:${{ env.VERSION }} - ${{ env.IMAGE }}:${{ env.VERSION }} + ${{ env.DKRIMAGE }}:${{ env.VERSION }} cache-from: type=registry,ref=ghcr.io/${{ env.IMAGE }}:${{ env.VERSION }} cache-to: type=inline build-args: | diff --git a/requirements.txt b/requirements.txt index d4cfbc8..827003f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ psycopg==3.2.1 psycopg-binary==3.2.1 PyYAML==6.0.2 typing_extensions==4.12.2 +APScheduler==3.10.4 \ No newline at end of file