Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ccl 278/create docker image #1

Merged
merged 18 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 0 additions & 41 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

5 changes: 0 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/automated-tests.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and Publish Docker Image

on:
push:
branches:
- main
paths:
- .github/workflows/docker-build.yml
- build.sh
- Dockerfile

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
REPO_NAME: ${{ github.event.repository.name }}

jobs:
build-and-publish:
permissions:
packages: write
contents: read
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v4

- name: Run build script
run: |
bash build.sh

- name: Login to ghcr
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Publish Docker Image
run: docker push -a ghcr.io/ukhomeoffice/cc-lza-validator
50 changes: 0 additions & 50 deletions .github/workflows/docs.yml

This file was deleted.

82 changes: 2 additions & 80 deletions .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,80 +1,2 @@
*.js
*.js.map
!deployment/.typescript/cdk-solution-helper/index.js
!**/create-govcloud-account/index.js
package-lock.json
!jest.config.js
!setEnvVars.js
*.d.ts
*.tsbuildinfo
node_modules
dist
!source/.typescript/lambda/**/*.js
!source/lambda/**/*.js
source/packages/@aws-accelerator/accelerator/lib/logger.js.map
asea-assets

### log files
*.log

### CDK asset staging directory
.cdk.staging
cdk.out

!**/cdk-solution-helper/index.js
!**/update-pipeline-github-token/index.js

deployment/global-s3-assets
deployment/regional-s3-assets
open-source/

### Temporary folders
tmp/
temp/

### yarn files
yarn-error.log

### jest coverage folder
coverage/

### VisualStudioCode ###
.vscode/*

### macOS ###
.DS_Store

### IntelliJ ###
.idea
*.iml

### Exclude Documentation ###
docs
!source/mkdocs/docs

### Exclude Jest test report directory
test-reports
source/lerna-debug.log

### Logger files
*.log

### Debugging
development
.vscode

### Viperlight
viperlight*.zip
/.idea/

### Sonarqube
.scannerwork

*.js.map

### Integ testing
**/integ.*.ts.snapshot
**/integ.*.ts.snapshot/**

# ASEA Assets
asea-assets
*.DS_Store
landing-zone-accelerator-on-aws
Loading
Loading