Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fb47b12ef3 | |||
| 1367a48107 | |||
| 3de2508deb | |||
| 43a4042cbd | |||
| 0b4b16d29d | |||
| 4a8084e1ed | |||
| 430c7a1823 | |||
| 6adf1c6284 | |||
| 5bf2080df4 | |||
| 99c775850e |
@@ -17,7 +17,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.5
|
||||
uses: actions/checkout@v4.1.6
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5.5.1
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v3.3.0
|
||||
- name: Login to Harbor
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v3.1.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
registry: harbor.evanshome.io
|
||||
username: ${{ secrets.HARBOR_USERNAME }}
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
|
||||
# - name: Build and push
|
||||
# uses: docker/build-push-action@v5.3.0
|
||||
# uses: docker/build-push-action@v6.2.0
|
||||
# with:
|
||||
# context: ./Docker/
|
||||
# push: ${{ github.event_name != 'pull_request' }}
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4.1.5
|
||||
uses: actions/checkout@v4.1.6
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
||||
fetch-depth: '0'
|
||||
@@ -46,14 +46,14 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3.3.0
|
||||
- name: Login to Harbor
|
||||
uses: docker/login-action@v3.1.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
registry: harbor.evanshome.io
|
||||
username: ${{ secrets.HARBOR_USERNAME }}
|
||||
password: ${{ secrets.HARBOR_PASSWORD }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5.3.0
|
||||
uses: docker/build-push-action@v6.2.0
|
||||
with:
|
||||
context: ./Docker/
|
||||
push: true
|
||||
|
||||
@@ -11,14 +11,14 @@ stages:
|
||||
##- push_dockerhub
|
||||
|
||||
build:
|
||||
image: docker:26.1.2-dind
|
||||
image: docker:26.1.3-dind
|
||||
stage: build
|
||||
only:
|
||||
refs:
|
||||
- tags
|
||||
- branches
|
||||
services:
|
||||
- name: docker:26.1.2-dind
|
||||
- name: docker:26.1.3-dind
|
||||
command: ["--tls=false"]
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
@@ -31,7 +31,7 @@ build:
|
||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
|
||||
|
||||
release:
|
||||
image: node:20.13.1-alpine3.19
|
||||
image: node:20.14.0-alpine3.19
|
||||
stage: release
|
||||
only:
|
||||
refs:
|
||||
@@ -57,10 +57,10 @@ release:
|
||||
- CHANGELOG.md
|
||||
|
||||
push local:
|
||||
image: docker:26.1.2-dind
|
||||
image: docker:26.1.3-dind
|
||||
stage: push_local
|
||||
services:
|
||||
- name: docker:26.1.2-dind
|
||||
- name: docker:26.1.3-dind
|
||||
command: ["--tls=false"]
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
|
||||
Reference in New Issue
Block a user