Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b3b3d4a7e1 | |||
| 93799d8fe5 | |||
| 65e2cb1bba | |||
| 65ef1207e3 | |||
| b53e40b534 | |||
| de95d7e864 | |||
| 655ab393e6 | |||
| c6db076198 | |||
| aa0d5de1bf | |||
| 299c8f61cb | |||
| fdc44fb5d4 | |||
| 58a62b794e |
@@ -34,10 +34,10 @@ 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.3.0
|
uses: docker/setup-buildx-action@v3.6.1
|
||||||
- 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.2.0
|
uses: docker/login-action@v3.3.0
|
||||||
with:
|
with:
|
||||||
registry: harbor.evanshome.io
|
registry: harbor.evanshome.io
|
||||||
username: ${{ secrets.HARBOR_USERNAME }}
|
username: ${{ secrets.HARBOR_USERNAME }}
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
# - name: Build and push
|
# - name: Build and push
|
||||||
# uses: docker/build-push-action@v6.2.0
|
# uses: docker/build-push-action@v6.7.0
|
||||||
# with:
|
# with:
|
||||||
# context: ./Docker/
|
# context: ./Docker/
|
||||||
# push: ${{ github.event_name != 'pull_request' }}
|
# push: ${{ github.event_name != 'pull_request' }}
|
||||||
|
|||||||
@@ -44,16 +44,16 @@ 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.3.0
|
uses: docker/setup-buildx-action@v3.6.1
|
||||||
- name: Login to Harbor
|
- name: Login to Harbor
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.3.0
|
||||||
with:
|
with:
|
||||||
registry: harbor.evanshome.io
|
registry: harbor.evanshome.io
|
||||||
username: ${{ secrets.HARBOR_USERNAME }}
|
username: ${{ secrets.HARBOR_USERNAME }}
|
||||||
password: ${{ secrets.HARBOR_PASSWORD }}
|
password: ${{ secrets.HARBOR_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6.2.0
|
uses: docker/build-push-action@v6.7.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.4-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.4-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.15.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.4-dind
|
image: docker:27.1.2-dind
|
||||||
stage: push_local
|
stage: push_local
|
||||||
services:
|
services:
|
||||||
- name: docker:26.1.4-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