Skip to content

Commit

Permalink
Initial ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Nov 28, 2023
1 parent 83fec4e commit ab3a9bc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
include:
- template: 'Workflows/Branch-Pipelines.gitlab-ci.yml'

stages:
- build

build:
image: docker:20.10.16
stage: build
services:
- docker:20.10.16-dind
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG

0 comments on commit ab3a9bc

Please sign in to comment.