Skip to content

Commit

Permalink
Merge pull request #53 from eko/upgrade-docker-images
Browse files Browse the repository at this point in the history
Upgrade docker image versions
  • Loading branch information
eko authored Feb 12, 2023
2 parents d6afd13 + ad4b80d commit 5f002fb
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- name: Run Go tests
run: |
cd backend
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- uses: actions/setup-node@v3
with:
node-version: 16
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 19
- name: Run tests
run: |
cd frontend
Expand All @@ -96,7 +96,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -109,7 +109,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- name: Run Go tests
run: |
cd sdk
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go_version: [ '1.19' ]
go_version: [ '1.20' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: '1.20'

- name: Create release
run: |
Expand All @@ -153,4 +153,4 @@ jobs:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ./backend/authz-${{ matrix.goos }}-${{ matrix.goarch }}
asset_name: authz-${{ matrix.goos }}-${{ matrix.goarch }}
asset_content_type: application/octet-stream
asset_content_type: application/octet-stream
4 changes: 2 additions & 2 deletions Dockerfile.standalone
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.17 as backend-builder
FROM golang:1.20-alpine3.17 as backend-builder

WORKDIR /project

Expand All @@ -16,7 +16,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
CGO_ENABLED=1 go build -mod vendor -ldflags "-s -w" -o authz ./cmd/

FROM node:19.4-alpine as frontend-builder
FROM node:19.6-alpine as frontend-builder

ARG REACT_APP_API_BASE_URI=http://localhost:8080/v1
ARG REACT_APP_DEMO_ENABLED=false
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.17 as builder
FROM golang:1.20-alpine3.17 as builder

WORKDIR /project

Expand Down
2 changes: 1 addition & 1 deletion backend/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/eko/authz/backend

go 1.19
go 1.20

require (
github.com/coreos/go-oidc/v3 v3.5.0
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:19.4-alpine as builder
FROM node:19.6-alpine as builder

WORKDIR /app

Expand Down

0 comments on commit 5f002fb

Please sign in to comment.