Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Infrastructure GitOps
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Infrastructure GitOps
Commits
cbf0b456
Verified
Commit
cbf0b456
authored
1 year ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
ci(earthly): Add latest as arg to be passed down
parent
af074e02
No related branches found
Branches containing commit
Tags
wordpress-0.2.5
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Earthfile
+4
-2
4 additions, 2 deletions
Earthfile
with
4 additions
and
2 deletions
Earthfile
+
4
−
2
View file @
cbf0b456
...
...
@@ -3,7 +3,8 @@ VERSION --wait-block 0.7
# images builds all container images in the Repository
images:
ARG CONTAINER_REGISTRY=quay.io/shivering-isles
BUILD +images-earthly --CONTAINER_REGISTRY=${CONTAINER_REGISTRY}
ARG latest=false
BUILD +images-earthly --CONTAINER_REGISTRY=${CONTAINER_REGISTRY} --latest=$latest
images-src:
FROM quay.io/fedora/fedora:39
...
...
@@ -12,8 +13,9 @@ images-src:
images-earthly:
FROM +images-src
ARG CONTAINER_REGISTRY=quay.io/shivering-isles
ARG latest=false
FOR dir IN $(find ./images -type d -execdir test -f {}/Earthfile -a \! -e {}/.skip-earthly \; -print)
BUILD "${dir}+container" --registry="$CONTAINER_REGISTRY/$(basename ${dir})"
BUILD "${dir}+container" --registry="$CONTAINER_REGISTRY/$(basename ${dir})"
--latest=$latest
END
# changelog generates a local RELEASENOTES.md file using git-chglog
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment