forked from username/flaskpaste
ci: use Containerfile for image build
This commit is contained in:
@@ -278,7 +278,7 @@ jobs:
|
|||||||
echo "Using: $BUILD_CMD"
|
echo "Using: $BUILD_CMD"
|
||||||
|
|
||||||
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
||||||
$BUILD_CMD build -t flaskpaste:latest -t flaskpaste:sha-${SHORT_SHA} .
|
$BUILD_CMD build -f Containerfile -t flaskpaste:latest -t flaskpaste:sha-${SHORT_SHA} .
|
||||||
$BUILD_CMD images | grep flaskpaste
|
$BUILD_CMD images | grep flaskpaste
|
||||||
|
|
||||||
- name: Push to Harbor
|
- name: Push to Harbor
|
||||||
|
|||||||
Reference in New Issue
Block a user