Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 65ef1207e3 | |||
| b53e40b534 | |||
| de95d7e864 | |||
| 655ab393e6 | |||
| fdc44fb5d4 | |||
| 58a62b794e | |||
| a17285c857 | |||
| 434d3746e0 | |||
| 0634ed2b96 | |||
| fb47b12ef3 | |||
| 1367a48107 | |||
| 14455d156d | |||
| 60d1252c8c | |||
| 0ea5651ea3 | |||
| 3de2508deb | |||
| 43a4042cbd | |||
| 5bf2080df4 | |||
| 99c775850e |
@@ -17,7 +17,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4.1.5
|
uses: actions/checkout@v4.1.7
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5.5.1
|
uses: docker/metadata-action@v5.5.1
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
# - name: Build and push
|
# - name: Build and push
|
||||||
# uses: docker/build-push-action@v5.3.0
|
# uses: docker/build-push-action@v6.2.0
|
||||||
# with:
|
# with:
|
||||||
# context: ./Docker/
|
# context: ./Docker/
|
||||||
# push: ${{ github.event_name != 'pull_request' }}
|
# push: ${{ github.event_name != 'pull_request' }}
|
||||||
|
|||||||
@@ -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.1.5
|
uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
password: ${{ secrets.HARBOR_PASSWORD }}
|
password: ${{ secrets.HARBOR_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5.3.0
|
uses: docker/build-push-action@v6.2.0
|
||||||
with:
|
with:
|
||||||
context: ./Docker/
|
context: ./Docker/
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ stages:
|
|||||||
##- push_dockerhub
|
##- push_dockerhub
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: docker:26.1.2-dind
|
image: docker:27.1.2-dind
|
||||||
stage: build
|
stage: build
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- tags
|
- tags
|
||||||
- branches
|
- branches
|
||||||
services:
|
services:
|
||||||
- name: docker:26.1.2-dind
|
- name: docker:27.1.2-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.14.0-alpine3.19
|
image: node:20.17.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:26.1.2-dind
|
image: docker:27.1.2-dind
|
||||||
stage: push_local
|
stage: push_local
|
||||||
services:
|
services:
|
||||||
- name: docker:26.1.2-dind
|
- name: docker:27.1.2-dind
|
||||||
command: ["--tls=false"]
|
command: ["--tls=false"]
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
|
|||||||
Reference in New Issue
Block a user