diff --git a/.drone.yml b/.drone.yml index f33d78f..dd2afef 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: commands: - git clone https://mau.dev/tulir/mautrix-whatsapp.git . # Inject 'apk upgrade' and removal of apk-cache into Dockerfile - - sed -e 's|apk add --no-cache .*|apk upgrade --update-cache --available \&\& \\\n & \&\& \\\n rm -rf /var/lib/apt/lists/* \&\& \\\n rm /var/cache/apk/*|g' -i ./Dockerfile + - sed -e 's|apk add --no-cache .*|apk upgrade --update-cache --available \&\& & \&\& rm -rf /var/lib/apt/lists/* \&\& rm /var/cache/apk/*|g' -i ./Dockerfile - name: build & publish image: plugins/docker