Update Docker images (#524)
This commit is contained in:
@@ -74,7 +74,7 @@ func TestRunEvent(t *testing.T) {
|
||||
}
|
||||
|
||||
platforms := map[string]string{
|
||||
"ubuntu-latest": "node:12.6-buster-slim",
|
||||
"ubuntu-latest": "node:12.20.1-buster-slim",
|
||||
}
|
||||
tables := []TestJobFileInfo{
|
||||
{"testdata", "basic", "push", "", platforms},
|
||||
@@ -113,7 +113,7 @@ func TestRunEventSecrets(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
platforms := map[string]string{
|
||||
"ubuntu-latest": "node:12.6-buster-slim",
|
||||
"ubuntu-latest": "node:12.20.1-buster-slim",
|
||||
}
|
||||
|
||||
workflowPath := "secrets"
|
||||
@@ -154,7 +154,7 @@ func TestRunEventPullRequest(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
platforms := map[string]string{
|
||||
"ubuntu-latest": "node:12.6-buster-slim",
|
||||
"ubuntu-latest": "node:12.20.1-buster-slim",
|
||||
}
|
||||
|
||||
workflowPath := "pull-request"
|
||||
|
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
func TestStepContextExecutor(t *testing.T) {
|
||||
platforms := map[string]string{
|
||||
"ubuntu-latest": "node:12.6-buster-slim",
|
||||
"ubuntu-latest": "node:12.20.1-buster-slim",
|
||||
}
|
||||
tables := []TestJobFileInfo{
|
||||
{"testdata", "uses-github-empty", "push", "Expected format {org}/{repo}[/path]@ref", platforms},
|
||||
|
@@ -1,5 +1,5 @@
|
||||
# Container image that runs your code
|
||||
FROM alpine:3.10
|
||||
FROM alpine:3.13
|
||||
|
||||
# Copies your code file from your action repository to the filesystem path `/` of the container
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
@@ -8,7 +8,7 @@ inputs:
|
||||
default: World
|
||||
runs:
|
||||
using: docker
|
||||
#image: docker://alpine:3.8
|
||||
#image: docker://alpine:3.13
|
||||
image: docker://node:12-alpine
|
||||
env:
|
||||
TEST: enabled
|
||||
|
2
pkg/runner/testdata/basic/push.yml
vendored
2
pkg/runner/testdata/basic/push.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
steps:
|
||||
- run: echo ${{ env.TEST }} | grep value
|
||||
- run: env
|
||||
- uses: docker://alpine:3.8
|
||||
- uses: docker://alpine:3.13
|
||||
with:
|
||||
somekey: ${{ env.TEST }}
|
||||
args: echo ${INPUT_SOMEKEY} | grep somevalue
|
||||
|
2
pkg/runner/testdata/fail/push.yml
vendored
2
pkg/runner/testdata/fail/push.yml
vendored
@@ -5,7 +5,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: node:10.16-jessie
|
||||
image: node:12.20.1-buster
|
||||
env:
|
||||
TEST_ENV: test-value
|
||||
steps:
|
||||
|
4
pkg/runner/testdata/job-container/push.yml
vendored
4
pkg/runner/testdata/job-container/push.yml
vendored
@@ -5,7 +5,7 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: node:10.16-jessie
|
||||
image: node:12.20.1-buster
|
||||
env:
|
||||
TEST_ENV: test-value
|
||||
steps:
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
|
||||
test2:
|
||||
runs-on: ubuntu-latest
|
||||
container: node:10.16-jessie
|
||||
container: node:12.20.1-buster
|
||||
steps:
|
||||
- run: echo ${TEST_ENV} | grep test-value
|
||||
env:
|
||||
|
2
pkg/runner/testdata/uses-docker-url/push.yml
vendored
2
pkg/runner/testdata/uses-docker-url/push.yml
vendored
@@ -5,7 +5,7 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: docker://alpine:3.8
|
||||
- uses: docker://alpine:3.13
|
||||
with:
|
||||
somekey: somevalue
|
||||
args: echo ${INPUT_SOMEKEY} | grep somevalue
|
||||
|
Reference in New Issue
Block a user