mirror of
https://github.com/dragonheim/gagent.git
synced 2025-01-18 02:36:27 -08:00
Updating versions.
This commit is contained in:
parent
c677d30cf5
commit
316ea1afa6
4 changed files with 7 additions and 6 deletions
|
@ -1,10 +1,11 @@
|
|||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.194.3/containers/go/.devcontainer/base.Dockerfile
|
||||
|
||||
# [Choice] Go version: 1, 1.16, 1.17
|
||||
ARG VARIANT="1.18"
|
||||
ARG VARIANT="1.19"
|
||||
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
|
||||
|
||||
COPY --from=aquasec/trivy:0.25.4 /usr/local/bin/trivy /usr/bin/trivy
|
||||
COPY --from=aquasec/trivy:0.32.1 /usr/local/bin/trivy /usr/bin/trivy
|
||||
COPY --from=securego/gosec:2.13.1 /bin/gosec /usr/bin/gosec
|
||||
|
||||
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
|
||||
ARG NODE_VERSION="none"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.17
|
||||
// Append -bullseye or -buster to pin to an OS version.
|
||||
// Use -bullseye variants on local arm64/Apple Silicon.
|
||||
"VARIANT": "1.18-bullseye",
|
||||
"VARIANT": "1.19-bullseye",
|
||||
// Options
|
||||
"NODE_VERSION": "none"
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ steps:
|
|||
- refs/tags/**
|
||||
|
||||
- name: Validate code base and dependencies
|
||||
image: dragonheim/golang:1.17
|
||||
image: dragonheim/golang:latest
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
|
@ -86,7 +86,7 @@ steps:
|
|||
- echo "running"
|
||||
|
||||
- name: Build and push container
|
||||
image: dragonheim/golang:1.17
|
||||
image: dragonheim/golang:latest
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM dragonheim/golang:1.18 as builder
|
||||
FROM dragonheim/golang:1.19 as builder
|
||||
ARG SEMVER
|
||||
|
||||
WORKDIR /gagent
|
||||
|
|
Loading…
Add table
Reference in a new issue