diff --git a/.github/workflows/create-image.yml b/.github/workflows/create-image.yml index 12a5028..56c4089 100644 --- a/.github/workflows/create-image.yml +++ b/.github/workflows/create-image.yml @@ -4,7 +4,6 @@ name: CI env: VERSION: ${{ github.ref_name }} - OS_URL: https://cdn.amazonlinux.com/os-images/$VERSION/kvm/amzn2-kvm-$VERSION-x86_64.xfs.gpt.qcow2 BASE_OS_IMAGE: base-os.qcow2 # Controls when the workflow will run @@ -37,7 +36,7 @@ jobs: # Runs a set of commands using the runners shell - name: Download base image from AWS run: | - sudo wget "$OS_URL" -O $BASE_OS_IMAGE + sudo wget "https://cdn.amazonlinux.com/os-images/${{ env.VERSION }}/kvm/amzn2-kvm-${{ env.VERSION }}-x86_64.xfs.gpt.qcow2" -O $BASE_OS_IMAGE - name: Making some changes on base image run: | sudo virt-copy-in -a $BASE_OS_IMAGE config/cloud.cfg /etc/cloud/