Skip to content

Commit

Permalink
ci: upgrade Fedora 40 to Fedora 41 in GitLab CI job for Fedora
Browse files Browse the repository at this point in the history
Fedora 41 was released more than a month ago, so let's try to
use that.
  • Loading branch information
striezel committed Dec 2, 2024
1 parent 43d9236 commit f83eaf7
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:27-dind
script:
- cd ci/
- docker build -t $CI_REGISTRY/striezel/webp-viewer/fedora:40 . -f Dockerfile_fedora
- docker build -t $CI_REGISTRY/striezel/webp-viewer/fedora:41 . -f Dockerfile_fedora
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push $CI_REGISTRY/striezel/webp-viewer/fedora:40
- docker push $CI_REGISTRY/striezel/webp-viewer/fedora:41
- 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:40
image: registry.gitlab.com/striezel/webp-viewer/fedora:41
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:40
FROM fedora:41
LABEL maintainer="Dirk Stolle <[email protected]>"
# Always update any existing packages first.
RUN yum update -y
Expand Down

0 comments on commit f83eaf7

Please sign in to comment.