diff --git a/.github/workflows/publish_docker_images_cron.yml b/.github/workflows/publish_docker_images_cron.yml index 4d6339c..edcea14 100644 --- a/.github/workflows/publish_docker_images_cron.yml +++ b/.github/workflows/publish_docker_images_cron.yml @@ -13,7 +13,11 @@ jobs: strategy: fail-fast: false matrix: - image_type: [latest, alpine, postgres_12, nightly] + image_type: + - latest + - alpine + - postgres_12 + - nightly steps: - name: Checkout repository uses: actions/checkout@v2 @@ -22,7 +26,7 @@ jobs: run: git clone -b v0.8.1 --depth=1 https://github.com/citusdata/tools.git tools - name: Install package dependencies - run: sudo apt install libcurl4-openssl-dev libssl-dev + run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev - name: Install python requirements run: python -m pip install -r tools/packaging_automation/requirements.txt diff --git a/.github/workflows/publish_docker_images_on_manual.yml b/.github/workflows/publish_docker_images_on_manual.yml index c773b8a..03c7da1 100644 --- a/.github/workflows/publish_docker_images_on_manual.yml +++ b/.github/workflows/publish_docker_images_on_manual.yml @@ -10,7 +10,6 @@ on: default: "" jobs: - build_and_publish_images: runs-on: ubuntu-latest strategy: @@ -20,10 +19,10 @@ jobs: uses: actions/checkout@v2 - name: Clone tools branch - run: git clone -b v0.8.0 --depth=1 https://github.com/citusdata/tools.git tools + run: git clone -b v0.8.1 --depth=1 https://github.com/citusdata/tools.git tools - name: Install package dependencies - run: sudo apt install libcurl4-openssl-dev libssl-dev + run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev - name: Install python requirements run: python -m pip install -r tools/packaging_automation/requirements.txt @@ -33,7 +32,7 @@ jobs: - name: Build and publish docker images run: | - python -m tools.packaging_automation.publish_docker \ - --pipeline_trigger_type "${GITHUB_EVENT_NAME}" \ - --tag_name ${{ github.event.inputs.tag_name }} \ - --manual_trigger_type ${{ github.event.inputs.trigger_type }} + python -m tools.packaging_automation.publish_docker \ + --pipeline_trigger_type "${GITHUB_EVENT_NAME}" \ + --tag_name ${{ github.event.inputs.tag_name }} \ + --manual_trigger_type ${{ github.event.inputs.trigger_type }} diff --git a/.github/workflows/publish_docker_images_on_push.yml b/.github/workflows/publish_docker_images_on_push.yml index d8b5f9c..bd173e0 100644 --- a/.github/workflows/publish_docker_images_on_push.yml +++ b/.github/workflows/publish_docker_images_on_push.yml @@ -3,27 +3,29 @@ name: Build Docker Image On Push (Both Tags and Branches) on: push: branches: - - '**' + - "**" tags: - - '**' - - + - "**" jobs: - build_and_publish_images: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - image_type: [latest,alpine,postgres_12 ] + image_type: + - latest + - alpine + - postgres_12 + - nightly steps: - name: Checkout repository uses: actions/checkout@v2 - name: Clone tools branch - run: git clone -b v0.8.0 --depth=1 https://github.com/citusdata/tools.git tools + run: git clone -b v0.8.1 --depth=1 https://github.com/citusdata/tools.git tools - name: Install package dependencies - run: sudo apt install libcurl4-openssl-dev libssl-dev + run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev - name: Install python requirements run: python -m pip install -r tools/packaging_automation/requirements.txt @@ -33,7 +35,7 @@ jobs: - name: Build and publish docker images run: | - python -m tools.packaging_automation.publish_docker \ - --github_ref "${GITHUB_REF}" \ - --pipeline_trigger_type "${GITHUB_EVENT_NAME}" \ - --image_type ${{ matrix.image_type }} + python -m tools.packaging_automation.publish_docker \ + --github_ref "${GITHUB_REF}" \ + --pipeline_trigger_type "${GITHUB_EVENT_NAME}" \ + --image_type ${{ matrix.image_type }} diff --git a/.github/workflows/update_version.yml b/.github/workflows/update_version.yml index 63d3352..836c046 100644 --- a/.github/workflows/update_version.yml +++ b/.github/workflows/update_version.yml @@ -27,7 +27,7 @@ jobs: uses: actions/checkout@v2 - name: Install package dependencies - run: sudo apt install libcurl4-openssl-dev libssl-dev + run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev - name: Clone tools branch run: git clone -b v0.8.1 --depth=1 https://github.com/citusdata/tools.git tools