diff --git a/.github/actions/containerize/action.yml b/.github/actions/container-build/action.yml similarity index 88% rename from .github/actions/containerize/action.yml rename to .github/actions/container-build/action.yml index 9d86c01..3c1cb78 100644 --- a/.github/actions/containerize/action.yml +++ b/.github/actions/container-build/action.yml @@ -13,9 +13,6 @@ inputs: registry-password: required: true description: Password to log in to the container registry - artifact-name: - required: true - description: Name of the artifact to upload push-image: required: true description: If true, pushes the image to the registry @@ -23,12 +20,6 @@ inputs: runs: using: composite steps: - - name: Download internal artifacts - uses: actions/download-artifact@v4 - with: - name: ${{ inputs.artifact-name }} - path: publish - - name: Set up Docker Build uses: docker/setup-buildx-action@v3 diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index df74736..2fe9ec4 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -23,11 +23,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/containerize + - uses: ./.github/actions/container-build with: registry: ghcr.io registry-path: ${{ github.repository_owner }}/discord-bot registry-username: ${{ github.actor }} registry-password: ${{ secrets.GITHUB_TOKEN }} - artifact-name: DiscordBot push-image: ${{ github.ref_type == 'branch' && github.ref_protected && github.event_name != 'pull_request' }} \ No newline at end of file