Fix GitLab CI
This commit is contained in:
parent
243ed398a0
commit
638b1723b4
1 changed files with 18 additions and 9 deletions
|
|
@ -1,10 +1,19 @@
|
||||||
default:
|
---
|
||||||
image: ruby:3.2.9
|
rubocop:
|
||||||
|
image: docker.io/ruby
|
||||||
before_script:
|
|
||||||
- gem install bundler -v 2.6.9
|
|
||||||
- bundle install
|
|
||||||
|
|
||||||
example_job:
|
|
||||||
script:
|
script:
|
||||||
- bundle exec rake
|
- gem install rubocop -N
|
||||||
|
- rubocop
|
||||||
|
|
||||||
|
push:image:
|
||||||
|
image: quay.io/podman/stable
|
||||||
|
script:
|
||||||
|
- podman build --tag "$CI_REGISTRY_IMAGE" --file "${CI_PROJECT_DIR}/Dockerfile" $CI_PROJECT_DIR
|
||||||
|
- podman push --creds "${CI_REGISTRY_USER}:${CI_JOB_TOKEN}" "$CI_REGISTRY_IMAGE" "docker://${CI_REGISTRY_IMAGE}"
|
||||||
|
only:
|
||||||
|
- master@ace/infisical-license-server
|
||||||
|
variables:
|
||||||
|
_BUILDAH_STARTED_IN_USERNS: ''
|
||||||
|
BUILDAH_ISOLATION: chroot
|
||||||
|
BUILDAH_FORMAT: docker
|
||||||
|
STORAGE_DRIVER: vfs
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue