Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docker] Added steps for latest tag for devbox & devbox-root #2146

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/docker-image-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,39 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.metaroot.outputs.tags }}
- name: Docker meta latest
id: metalatest
uses: docker/metadata-action@v5
with:
images: |
jetpackio/devbox
tags: |
type=raw,value=latest
flavor: |
latest=true
- name: Build and push latest
uses: docker/build-push-action@v5
with:
context: ./internal/devbox/generate/tmpl/
file: ./internal/devbox/generate/tmpl/DevboxImageDockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.metalatest.outputs.tags }}
- name: Docker meta root latest
id: metarootlatest
uses: docker/metadata-action@v5
with:
images: |
jetpackio/devbox-root-user
tags: |
type=raw,value=latest
flavor: |
latest=true
- name: Build and push root user latest
uses: docker/build-push-action@v5
with:
context: ./internal/devbox/generate/tmpl/
file: ./internal/devbox/generate/tmpl/DevboxImageDockerfileRootUser
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.metarootlatest.outputs.tags }}
Loading