This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
ci-apt/.gitlab-docker-armv7l.yml

17 lines
517 B
YAML
Raw Permalink Normal View History

2022-10-16 00:03:58 +00:00
build:armv7l:
2020-05-22 06:29:37 +00:00
variables:
2022-10-16 00:03:58 +00:00
VERSION: armv7l
2020-05-22 06:29:37 +00:00
stage: build
image: docker:latest
script:
2022-10-16 00:03:58 +00:00
- if [ -f init ]; then chmod 500 init; fi
- ([ -z "$REFRESH" ] && docker pull ${CI_REGISTRY_IMAGE}:${CACHETAG}) || true
- docker build --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION} -t ${CI_REGISTRY_IMAGE}:${CACHETAG} .
- docker push ${CI_REGISTRY_IMAGE}:${VERSION}
- docker push ${CI_REGISTRY_IMAGE}:${CACHETAG}
2020-05-22 06:29:37 +00:00
tags:
2022-10-16 00:03:58 +00:00
- docker
- armv7l
2020-05-22 06:29:37 +00:00
only:
2022-10-16 00:03:58 +00:00
- master