Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ec6c10431 | |||
| 0353f6b13d | |||
| d8e7ff70b9 |
2 changed files with 4 additions and 25 deletions
|
|
@ -1,23 +0,0 @@
|
||||||
image: quay.io/podman/stable
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- build
|
|
||||||
- publish
|
|
||||||
|
|
||||||
variables:
|
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- echo -n $CI_REGISTRY_PASSWORD | podman login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
|
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- podman build .
|
|
||||||
|
|
||||||
publish:
|
|
||||||
stage: publish
|
|
||||||
script:
|
|
||||||
- podman build -t $IMAGE_TAG .
|
|
||||||
- podman push $IMAGE_TAG
|
|
||||||
when: manual
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
FROM docker.io/fedora:40
|
# Podman for running in container pre-installed
|
||||||
|
# See https://www.redhat.com/en/blog/podman-inside-container
|
||||||
|
FROM quay.io/podman/stable
|
||||||
|
|
||||||
RUN dnf install -y java-21-openjdk-headless nodejs python \
|
RUN dnf install -y java-21-openjdk-headless nodejs python \
|
||||||
gcc gcc-c++ git podman graphviz ruby
|
gcc gcc-c++ git graphviz ruby
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue