Skip to content

Commit

Permalink
ci: upgrade Fedora 39 to Fedora 40 in GitLab CI job for Fedora
Browse files Browse the repository at this point in the history
Fedora 40 was released a week ago, so let's try to use that.
  • Loading branch information
striezel committed May 1, 2024
1 parent 4a5d63b commit d8b8482
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ docker_image_fedora:
- docker:20-dind
script:
- cd ci/
- docker build -t $CI_REGISTRY/striezel/webp-viewer/fedora:39 . -f Dockerfile_fedora
- docker build -t $CI_REGISTRY/striezel/webp-viewer/fedora:40 . -f Dockerfile_fedora
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push $CI_REGISTRY/striezel/webp-viewer/fedora:39
- docker push $CI_REGISTRY/striezel/webp-viewer/fedora:40
- docker logout $CI_REGISTRY
# Only build new image when the Dockerfile or the GitLab CI configuration
# changes.
Expand All @@ -51,7 +51,7 @@ docker_image_fedora:
- .gitlab-ci.yml

fedora:
image: registry.gitlab.com/striezel/webp-viewer/fedora:39
image: registry.gitlab.com/striezel/webp-viewer/fedora:40
stage: test
before_script:
- yum update -y
Expand Down
2 changes: 1 addition & 1 deletion ci/Dockerfile_fedora
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This Dockerfile builds the image used during the fedora build job on GitLab.
FROM fedora:39
FROM fedora:40
LABEL maintainer="Dirk Stolle <striezel-dev@web.de>"
# Always update any existing packages first.
RUN yum update -y
Expand Down

0 comments on commit d8b8482

Please sign in to comment.