Skip to content

Commit 65cd4e4

Browse files
committed
docs(SRV): update
1 parent b4abcae commit 65cd4e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/serverless-jobs/how-to/build-push-container-image.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,19 @@ CMD ["./main"]
8484

8585
3. Run the command below to log in to your Scaleway account in the terminal. Do not forget to replace the placeholder with your Container Registry namespace endpoint:
8686

87-
```
87+
```sh
8888
docker login rg.fr-par.scw.cloud/your-container-registry-namespace -u nologin --password-stdin <<< "$SCW_SECRET_KEY"
8989
```
9090

9191
4. Tag your Docker image so it matches your Scaleway registry's format:
9292

93-
```
93+
```sh
9494
docker tag my-application:latest rg.fr-par.scw.cloud/your-container-registry-namespace/my-application:latest
9595
```
9696

9797
5. Push the Docker image to the Scaleway Container Registry:
9898

99-
```
99+
```sh
100100
docker push rg.fr-par.scw.cloud/your-container-registry-namespace/my-application:latest
101101
```
102102

0 commit comments

Comments
 (0)