Skip to content

Commit 48f3e2c

Browse files
authored
Merge pull request #75 from softprops/default-to-latest-docker-tag
default to 'latest' docker tag
2 parents a547f94 + f524ba4 commit 48f3e2c

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# ⚡ 0.3.8s
1+
# ⚡ 0.4.0 (unreleased)
2+
3+
* use `latest` docker tag by default. This reduces some of the maintenance in publishing this plugin. Users are still able to pin versions as they always have.
4+
5+
# ⚡ 0.3.8
26

37
* experimental dockerless mode! To enable local builds add the following to your `serverless.yml` file
48

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const path = require("path");
1010
const AdmZip = require("adm-zip");
1111
const { mkdirSync, writeFileSync, readFileSync } = require("fs");
1212

13-
const DEFAULT_DOCKER_TAG = "0.2.7-rust-1.43.1";
13+
const DEFAULT_DOCKER_TAG = "latest";
1414
const DEFAULT_DOCKER_IMAGE = "softprops/lambda-rust";
1515
const RUST_RUNTIME = "rust";
1616
const BASE_RUNTIME = "provided";

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/unit/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe("RustPlugin", () => {
3636
assert.deepEqual(unconfigured.custom, {
3737
cargoFlags: "",
3838
dockerImage: "softprops/lambda-rust",
39-
dockerTag: "0.2.7-rust-1.43.1",
39+
dockerTag: "latest",
4040
dockerless: false,
4141
});
4242
});
@@ -50,7 +50,7 @@ describe("RustPlugin", () => {
5050
rust: {
5151
cargoFlags: "--features foo",
5252
dockerImage: "notsoftprops/lambda-rust",
53-
dockerTag: "latest",
53+
dockerTag: "custom-tag",
5454
dockerless: true,
5555
},
5656
},
@@ -63,7 +63,7 @@ describe("RustPlugin", () => {
6363
assert.deepEqual(configured.custom, {
6464
cargoFlags: "--features foo",
6565
dockerImage: "notsoftprops/lambda-rust",
66-
dockerTag: "latest",
66+
dockerTag: "custom-tag",
6767
dockerless: true,
6868
});
6969
});

0 commit comments

Comments
 (0)