Fix GitLab CI

This commit is contained in:
Alexander Olofsson 2026-02-24 09:15:56 +01:00
parent 243ed398a0
commit 638b1723b4
Signed by: ace
GPG key ID: D439C9470CB04C73

View file

@ -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