Get started.
This commit is contained in:
commit
cf8c36b9d0
3 changed files with 34 additions and 0 deletions
18
.gitlab-ci.yaml
Normal file
18
.gitlab-ci.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
image: quay.io/podman/stable
|
||||
|
||||
stages:
|
||||
- build
|
||||
- push
|
||||
|
||||
variables:
|
||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
||||
|
||||
before_script:
|
||||
- echo -n $CI_REGISTRY_PASSWORD | podman login -u "$CI_REGISTRY_USER" $CI_REGISTRY
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- podman build -t $IMAGE_TAG .
|
||||
- podman push $IMAGE_TAG
|
||||
when: manual
|
||||
11
.project
Normal file
11
.project
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>jdk21-builder</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
5
Containerfile
Normal file
5
Containerfile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
FROM docker.io/fedora:40
|
||||
|
||||
RUN dnf install -y java-21-openjdk-headless nodejs python gcc gcc-c++ git podman
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue