Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Add beta banner #129

Merged
merged 4 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .github/workflows/build-scan-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
platforms: linux/amd64

- name: Docker Scout CVEs
uses: docker/scout-action@v1.3.0
uses: docker/scout-action@v1.7.0
with:
command: cves
image: "" # If image is not set the most recently built image will be used (i.e. the one from the previous step)
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
- name: Compare image against latest tag
id: docker-scout
if: ${{ github.event_name == 'pull_request' }}
uses: docker/scout-action@v1.3.0
uses: docker/scout-action@v1.7.0
with:
command: compare
image: local://${{ steps.docker_meta.outputs.tags }}
Expand All @@ -171,5 +171,5 @@ jobs:
organization: docker
write-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }} # to be able to write the comment
exit-on: "policy" # fail the build if policies have worsened
exit-on: "vulnerability"
debug: true
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
[![Build, Scan and Push](https://github.com/docker/volumes-backup-extension/actions/workflows/build-scan-push.yaml/badge.svg)](https://github.com/docker/volumes-backup-extension/actions/workflows/build-scan-push.yaml)
[![Lint Dockerfile](https://github.com/docker/volumes-backup-extension/actions/workflows/hadolint.yaml/badge.svg)](https://github.com/docker/volumes-backup-extension/actions/workflows/hadolint.yaml)


> [!IMPORTANT]
> The functionality in this extension is now available as a Beta feature in the Volumes tab of Docker Desktop in versions 4.29.0 and above. This extension will be deprecated once the features are out of Beta. [Learn more](https://docs.docker.com/desktop/use-desktop/volumes/)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Will we deprecate the image or remove it from the marketplace?



![Extension Screenshot](./docs/images/1-table.png)

🚀 This extension was originally created by [Felipe Cruz](https://github.com/felipecruz91/)
Expand Down
25 changes: 24 additions & 1 deletion ui/src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { createDockerDesktopClient } from "@docker/extension-api-client";
import { QuestionAnswerOutlined } from "@mui/icons-material";
import { Grid, Link } from "@mui/material";
import { Grid, Link, Paper } from "@mui/material";
import Typography from "@mui/material/Typography/Typography";

const ddClient = createDockerDesktopClient();

const FEEDBACK_FORM_URL = "https://forms.gle/kYAwK34RUFXyAdfS7";
const LEARN_MORE_URL = "https://docs.docker.com/desktop/use-desktop/volumes/";

export const Header = () => (
<>
Expand All @@ -32,5 +33,27 @@ export const Header = () => (
<Typography variant="body1" color="text.secondary" sx={{ mt: 2 }}>
Backup, clone, restore, and share Docker volumes effortlessly.
</Typography>
<Paper
sx={(theme) => ({
mt: 2,
background: theme.palette.docker.blue[100],
color: theme.palette.docker.blue[700],
border: "none",
})}
>
<Typography variant="body1" sx={{ p: 2 }}>
The functionality in this extension is now available as a Beta feature
in the Volumes tab of Docker Desktop in versions 4.29.0 and above. This
extension will be deprecated once the features are out of Beta.{" "}
<Link
href="#"
onClick={() => {
ddClient.host.openExternal(LEARN_MORE_URL);
}}
>
Learn more
</Link>
</Typography>
</Paper>
</>
);
Loading