Skip to content
Snippets Groups Projects
Commit eba9e1f3 authored by nimrod's avatar nimrod
Browse files

Add Bats image.

parent c438618c
No related branches found
No related tags found
No related merge requests found
Pipeline #2356 failed
......@@ -4,7 +4,10 @@ include:
# pre-commit hook. This can also be better if you're working on different
# branches but want to use the hooks from the master branch.
# yamllint disable-line rule:line-length
- remote: https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/pre-commit.yml
- remote: |-
https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/pre-commit.yml
- remote: |-
https://git.shore.co.il/shore/ci-templates/-/raw/master/templates/containerfiles.yml
lint templates:
image: registry.shore.co.il/ci-images:pre-commit
......@@ -29,3 +32,19 @@ lint templates:
cache:
paths:
- .cache/
# bats image:
build-bats:
extends: .container-build
variables:
CONTEXT: images/bats
push-bats:
extends: .container-push
variables:
IMAGE: ci-images
TAG: bats
needs:
- job: build-bats
artifacts: true
*
FROM registry.hub.docker.com/library/alpine:3.14
# hadolint ignore=DL3018
RUN apk add --update --no-cache \
bats \
build-base \
docker-cli \
git \
openssh-client-default \
openssl \
&& \
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment