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

Commit 4341f69

Browse files
Merge pull request #129 from docker/add-beta-baner
Add beta banner
2 parents 3747c7b + e417137 commit 4341f69

File tree

3 files changed

+32
-4
lines changed

3 files changed

+32
-4
lines changed

.github/workflows/build-scan-push.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
platforms: linux/amd64
9797

9898
- name: Docker Scout CVEs
99-
uses: docker/scout-action@v1.3.0
99+
uses: docker/scout-action@v1.7.0
100100
with:
101101
command: cves
102102
image: "" # If image is not set the most recently built image will be used (i.e. the one from the previous step)
@@ -161,7 +161,7 @@ jobs:
161161
- name: Compare image against latest tag
162162
id: docker-scout
163163
if: ${{ github.event_name == 'pull_request' }}
164-
uses: docker/scout-action@v1.3.0
164+
uses: docker/scout-action@v1.7.0
165165
with:
166166
command: compare
167167
image: local://${{ steps.docker_meta.outputs.tags }}
@@ -171,5 +171,5 @@ jobs:
171171
organization: docker
172172
write-comment: true
173173
github-token: ${{ secrets.GITHUB_TOKEN }} # to be able to write the comment
174-
exit-on: "policy" # fail the build if policies have worsened
174+
exit-on: "vulnerability"
175175
debug: true

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
[![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)
44
[![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)
55

6+
7+
> [!IMPORTANT]
8+
> 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/)
9+
10+
611
![Extension Screenshot](./docs/images/1-table.png)
712

813
🚀 This extension was originally created by [Felipe Cruz](https://github.com/felipecruz91/)

ui/src/components/Header.tsx

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { createDockerDesktopClient } from "@docker/extension-api-client";
22
import { QuestionAnswerOutlined } from "@mui/icons-material";
3-
import { Grid, Link } from "@mui/material";
3+
import { Grid, Link, Paper } from "@mui/material";
44
import Typography from "@mui/material/Typography/Typography";
55

66
const ddClient = createDockerDesktopClient();
77

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

1011
export const Header = () => (
1112
<>
@@ -32,5 +33,27 @@ export const Header = () => (
3233
<Typography variant="body1" color="text.secondary" sx={{ mt: 2 }}>
3334
Backup, clone, restore, and share Docker volumes effortlessly.
3435
</Typography>
36+
<Paper
37+
sx={(theme) => ({
38+
mt: 2,
39+
background: theme.palette.docker.blue[100],
40+
color: theme.palette.docker.blue[700],
41+
border: "none",
42+
})}
43+
>
44+
<Typography variant="body1" sx={{ p: 2 }}>
45+
The functionality in this extension is now available as a Beta feature
46+
in the Volumes tab of Docker Desktop in versions 4.29.0 and above. This
47+
extension will be deprecated once the features are out of Beta.{" "}
48+
<Link
49+
href="#"
50+
onClick={() => {
51+
ddClient.host.openExternal(LEARN_MORE_URL);
52+
}}
53+
>
54+
Learn more
55+
</Link>
56+
</Typography>
57+
</Paper>
3558
</>
3659
);

0 commit comments

Comments
 (0)