-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) · 1.52 KB
/
development-build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# yamllint disable rule:line-length
# yamllint disable rule:truthy
---
run-name: static code analysis
on:
push:
branches:
- "*"
tags:
- "!*"
jobs:
static-code-analysis:
name: static code analysis
uses: ThoughtWorks-DPS/gha-tools-action/.github/workflows/gha-container-dev-release.yaml@main
# static-code-analysis:
# name: static code analysis
# uses: ThoughtWorks-DPS/gha-tools-action/.github/workflows/gha-container-dev-release.yaml@main
# with:
# op-version: 2.28.0
# steps:
# - name: test action
# uses: ThoughtWorks-DPS/gha-action-tools/.github/workflows/gha-container-dev-release.yaml@main
# - name: checkout code
# uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
# - name: Load credentials
# uses: 1password/load-secrets-action@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0
# with:
# export-env: true
# env:
# OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
# DOCKER_LOGIN: op://empc-lab/svc-dockerhub/username
# DOCKER_PASSWORD: op://empc-lab/svc-dockerhub/password
# - name:
# - name: check context
# shell: bash
# run: |
# set -eo pipefail
# echo $DOCKER_PASSWORD | docker login -u $DOCKER_LOGIN --password-stdin docker.io
# docker build -t twdps/gha-container-base-image:alpine-stable -f Dockerfile .
# docker push twdps/gha-container-base-image:alpine-stable