Module: kamailio Branch: master Commit: 097295616f6387d192c5774ce7fc1a95b1913542 URL: https://github.com/kamailio/kamailio/commit/097295616f6387d192c5774ce7fc1a95b1913542
Author: Victor Seva <linuxman...@torreviejawireless.org> Committer: Victor Seva <linuxman...@torreviejawireless.org> Date: 2023-10-13T12:35:35+02:00 github: move cleanup of untagged packages to its own workflow [skip ci] --- Added: .github/workflows/cleanup.yml Modified: .github/workflows/alpine.yml --- Diff: https://github.com/kamailio/kamailio/commit/097295616f6387d192c5774ce7fc1a95b1913542.diff Patch: https://github.com/kamailio/kamailio/commit/097295616f6387d192c5774ce7fc1a95b1913542.patch --- diff --git a/.github/workflows/alpine.yml b/.github/workflows/alpine.yml index eb64a32d73b..3bf126e588d 100644 --- a/.github/workflows/alpine.yml +++ b/.github/workflows/alpine.yml @@ -175,10 +175,3 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - - name: Delete untagged images - if: ${{ steps.should_run.outputs.should_run != 'false' }} - uses: camargo/delete-untagged-action@v1 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - package-name: ${{ env.IMAGE_NAME }} diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml new file mode 100644 index 00000000000..babf4956fb2 --- /dev/null +++ b/.github/workflows/cleanup.yml @@ -0,0 +1,22 @@ +--- +name: cleanup packages +on: + schedule: + - cron: '0 5 * * *' + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +env: + IMAGE_NAME: kamailio-ci + +jobs: + x86_64: + runs-on: ubuntu-latest + permissions: + packages: admin + steps: + - name: Delete untagged images + uses: camargo/delete-untagged-action@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + package-name: ${{ env.IMAGE_NAME }} _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-dev-le...@lists.kamailio.org