Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f27b2df3f8 | |||
| 7b009e7eb2 | |||
|
34b44d1aea
|
|||
|
26a83c2d88
|
|||
| ab1fb57943 | |||
| cb45cf13d3 | |||
| 72e0c98ae9 | |||
| 5599816742 | |||
| a566589d82 | |||
| 5ca88540e8 |
@@ -17,7 +17,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.2.1
|
uses: actions/checkout@v4.2.2
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5.5.1
|
uses: docker/metadata-action@v5.5.1
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=sha
|
type=sha
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.7.1
|
uses: docker/setup-buildx-action@v3.9.0
|
||||||
- name: Login to Harbor
|
- name: Login to Harbor
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v3.3.0
|
uses: docker/login-action@v3.3.0
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4.2.1
|
uses: actions/checkout@v4.2.2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=sha
|
type=sha
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3.7.1
|
uses: docker/setup-buildx-action@v3.9.0
|
||||||
- name: Login to Harbor
|
- name: Login to Harbor
|
||||||
uses: docker/login-action@v3.3.0
|
uses: docker/login-action@v3.3.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ stages:
|
|||||||
##- push_dockerhub
|
##- push_dockerhub
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: docker:27.3.1-dind
|
image: docker:27.4.0-dind
|
||||||
stage: build
|
stage: build
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- tags
|
- tags
|
||||||
- branches
|
- branches
|
||||||
services:
|
services:
|
||||||
- name: docker:27.3.1-dind
|
- name: docker:27.4.0-dind
|
||||||
command: ["--tls=false"]
|
command: ["--tls=false"]
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
@@ -31,7 +31,7 @@ build:
|
|||||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||||
|
|
||||||
release:
|
release:
|
||||||
image: node:20.18.0-alpine3.19
|
image: node:22.12.0-alpine3.19
|
||||||
stage: release
|
stage: release
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
@@ -57,10 +57,10 @@ release:
|
|||||||
- CHANGELOG.md
|
- CHANGELOG.md
|
||||||
|
|
||||||
push local:
|
push local:
|
||||||
image: docker:27.3.1-dind
|
image: docker:27.4.0-dind
|
||||||
stage: push_local
|
stage: push_local
|
||||||
services:
|
services:
|
||||||
- name: docker:27.3.1-dind
|
- name: docker:27.4.0-dind
|
||||||
command: ["--tls=false"]
|
command: ["--tls=false"]
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
|
|||||||
Reference in New Issue
Block a user