mirror of
https://github.com/nikdoof/cups-avahi-airprint.git
synced 2025-12-12 00:02:16 +00:00
Update buildspec.yml
This commit is contained in:
@@ -1,25 +1,18 @@
|
|||||||
version: 0.2
|
version: 0.2
|
||||||
|
phases:
|
||||||
batch:
|
install:
|
||||||
fast-fail: false
|
commands:
|
||||||
build-graph:
|
- yum update -y
|
||||||
- identifier: build1
|
pre_build:
|
||||||
env:
|
commands:
|
||||||
variables:
|
- echo Logging in to Amazon ECR...
|
||||||
BUILD_ID: amd64
|
- $(aws ecr get-login --no-include-email --region $AWS_DEFAULT_REGION)
|
||||||
IMAGE_TAG: amd64
|
build:
|
||||||
ignore-failure: false
|
commands:
|
||||||
buildspec: amd64.yml
|
- echo Build started on `date`
|
||||||
# - identifier: build2
|
- echo Building the Docker image...
|
||||||
# buildspec: build2.yml
|
- docker build -t $IMAGE_REPO_NAME:$IMAGE_TAG .
|
||||||
# env:
|
- docker tag $IMAGE_REPO_NAME:$IMAGE_TAG $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$IMAGE_REPO_NAME:$IMAGE_TAG
|
||||||
# variables:
|
post_build:
|
||||||
# BUILD_ID: build2
|
commands:
|
||||||
# depend-on:
|
- echo Build completed on `date`
|
||||||
# - build1
|
|
||||||
# - identifier: build3
|
|
||||||
# env:
|
|
||||||
# variables:
|
|
||||||
# BUILD_ID: build3
|
|
||||||
# depend-on:
|
|
||||||
# - build2
|
|
||||||
|
|||||||
Reference in New Issue
Block a user