Skip to content

Commit

Permalink
✅ Update s3 move func
Browse files Browse the repository at this point in the history
  • Loading branch information
tosone committed Aug 17, 2024
1 parent 2ada28d commit a100bfe
Show file tree
Hide file tree
Showing 15 changed files with 606 additions and 546 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
image-build-alpine:
name: image-build-alpine
runs-on: ubuntu-22.04
runs-on: ubuntu-22.04-8core-16gb
steps:
- name: Delete huge unnecessary folders, and clean apt cache
run: |
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
outputs: oci-mediatypes=true,compression=zstd,compression-level=19,force-compression=true,type=image
image-build-alpine-trivydb:
name: image-build-alpine-trivydb
runs-on: ubuntu-22.04
runs-on: ubuntu-22.04-8core-16gb
steps:
- name: Delete huge unnecessary folders, and clean apt cache
run: |
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
WITH_TRIVY_DB=true
image-build-debian:
name: image-build-debian
runs-on: ubuntu-22.04
runs-on: ubuntu-22.04-8core-16gb
steps:
- name: Delete huge unnecessary folders, and clean apt cache
run: |
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
outputs: oci-mediatypes=true,compression=zstd,compression-level=19,force-compression=true,type=image
image-build-debian-trivydb:
name: image-build-debian-trivydb
runs-on: ubuntu-22.04
runs-on: ubuntu-22.04-8core-16gb
steps:
- name: Delete huge unnecessary folders, and clean apt cache
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
go: ["1.22"]
go: ["1.23"]
node: ["20"]
steps:
- name: Checkout branch
Expand All @@ -42,8 +42,8 @@ jobs:
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
args: --deadline=30m --verbose --build-tags "timetzdata,exclude_graphdriver_devicemapper,exclude_graphdriver_btrfs,containers_image_openpgp"
version: v1.60.1
args: --timeout=30m --verbose --build-tags "timetzdata,exclude_graphdriver_devicemapper,exclude_graphdriver_btrfs,containers_image_openpgp"
skip-pkg-cache: true
- name: Lint Dockerfile
uses: hadolint/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/local-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
go: ["1.22"]
go: ["1.23"]
node: ["20"]
steps:
- name: Checkout branch
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
go: ["1.22"]
go: ["1.23"]
node: ["20"]
services:
mysql:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
go: ["1.22"]
go: ["1.23"]
node: ["20"]
services:
mysql:
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
go: ["1.22"]
go: ["1.23"]
node: ["20"]
services:
mysql:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ifeq ($(shell test -e ./Dockerfile && echo -n yes),yes)
endif

lint-go: ## Use golintci-lint on your project
@golangci-lint run --deadline=10m --build-tags "timetzdata,exclude_graphdriver_devicemapper,exclude_graphdriver_btrfs,containers_image_openpgp"
@golangci-lint run --timeout=10m --build-tags "timetzdata,exclude_graphdriver_devicemapper,exclude_graphdriver_btrfs,containers_image_openpgp"

lint-yaml: ## Use yamllint on the yaml file of your projects
ifeq ($(EXPORT_RESULT), true)
Expand Down
4 changes: 2 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GOLANG_VERSION=1.22.5-alpine3.19
ARG GOLANG_VERSION=1.23.0-alpine3.19
ARG NODE_VERSION=20-alpine3.19
ARG ALPINE_VERSION=3.19

Expand Down Expand Up @@ -34,7 +34,7 @@ FROM alpine:${ALPINE_VERSION} AS trivy

ARG USE_MIRROR=false
ARG WITH_TRIVY_DB=false
ARG TRIVY_VERSION=0.53.0
ARG TRIVY_VERSION=0.54.1
ARG TARGETOS TARGETARCH

SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
Expand Down
4 changes: 2 additions & 2 deletions build/Dockerfile.builder
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG GOLANG_VERSION=1.22.5-alpine3.19
ARG GOLANG_VERSION=1.23.0-alpine3.19
ARG BUILDKIT_VERSION=v0.13.2-rootless
ARG ALPINE_VERSION=3.19

FROM alpine:${ALPINE_VERSION} AS cosign

ARG USE_MIRROR=false
ARG COSIGN_VERSION=v2.2.4
ARG COSIGN_VERSION=v2.4.0
ARG TARGETOS TARGETARCH

RUN set -eux && \
Expand Down
4 changes: 2 additions & 2 deletions build/Dockerfile.debian
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GOLANG_VERSION=1.22.5-bookworm
ARG GOLANG_VERSION=1.23.0-bookworm
ARG NODE_VERSION=20-alpine3.19
ARG ALPINE_VERSION=3.19
ARG DEBIAN_VERSION=bookworm-slim
Expand Down Expand Up @@ -35,7 +35,7 @@ FROM alpine:${ALPINE_VERSION} AS trivy

ARG USE_MIRROR=false
ARG WITH_TRIVY_DB=false
ARG TRIVY_VERSION=0.53.0
ARG TRIVY_VERSION=0.54.1
ARG TARGETOS TARGETARCH

RUN set -eux && \
Expand Down
Loading

0 comments on commit a100bfe

Please sign in to comment.