• Stars
    star
    124
  • Rank 278,532 (Top 6 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 4 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This Action allows you to create Docker images and push into a ECR repository.

AWS ECR Action

This Action allows you to create Docker images and push into a ECR repository.

Parameters

Parameter Type Default Description
access_key_id string Your AWS access key id
secret_access_key string Your AWS secret access key
account_id string Your AWS Account ID
repo string Name of your ECR repository
region string Your AWS region
create_repo boolean false Set this to true to create the repository if it does not already exist
set_repo_policy boolean false Set this to true to set a IAM policy on the repository
repo_policy_file string repo-policy.json Set this to repository policy statement json file. only used if the set_repo_policy is set to true
image_scanning_configuration boolean false Set this to True if you want AWS to scan your images for vulnerabilities
tags string latest Comma-separated string of ECR image tags (ex latest,1.0.0,)
dockerfile string Dockerfile Name of Dockerfile to use
extra_build_args string "" Extra flags to pass to docker build (see docs.docker.com/engine/reference/commandline/build)
cache_from string "" Images to use as cache for the docker build (see --cache-from argument docs.docker.com/engine/reference/commandline/build)
path string . Path to Dockerfile, defaults to the working directory
prebuild_script string Relative path from top-level to script to run before Docker build
registry_ids string : A comma-delimited list of AWS account IDs that are associated with the ECR registries. If you do not specify a registry, the default ECR registry is assumed

Usage

jobs:
  build-and-push:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: docker://ghcr.io/kciter/aws-ecr-action:latest
      with:
        access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
        secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
        account_id: ${{ secrets.AWS_ACCOUNT_ID }}
        repo: docker/repo
        region: ap-northeast-2
        tags: latest,${{ github.sha }}
        create_repo: true
        image_scanning_configuration: true
        set_repo_policy: true
        repo_policy_file: repo-policy.json

If you don't want to use the latest docker image, you can point to any reference in the repo directly.

  - uses: kciter/aws-ecr-action@master
  # or
  - uses: kciter/aws-ecr-action@v3
  # or
  - uses: kciter/aws-ecr-action@0589ad88c51a1b08fd910361ca847ee2cb708a30

License

The MIT License (MIT)

More Repositories

1

qart.js

Generate artistic QR code. ๐ŸŽจ
JavaScript
3,142
star
2

Floaty

โค๏ธ Floating Action Button for iOS
Swift
1,541
star
3

awesome-style-guide

A list of awesomeโญstyle guide.
Ruby
1,058
star
4

GlitchLabel

G..lit...c...hing UILa..bel fo..r iO...S ๐Ÿ“บ
Swift
1,038
star
5

react-barcode

A <Barcode/> component for use with React.
Makefile
287
star
6

HorizontalDial

A horizontal scroll dial like Instagram.
Swift
210
star
7

simple-slack-bot

You can easily make Slack Bot!! โญ
Ruby
159
star
8

SelectionDialog

Simple selection dialog
Swift
117
star
9

jazzlang

์ƒค๋นฑ๋‘๋น„๋šœ๋ฐฅ ๋‘๋น„๋‘๋น„๋‘๋น„๋‘๋น„ ๋šœ๋น„๋‘๋ฐฅ ์‚ฌ๋ฐ”๋‘๋น„๋‘๋ด ์ƒค๋ฐ”๋‹ค ๋‘๋ถธ๋‘ก ๐ŸŽท
HTML
115
star
10

FBLiveAPISample-iOS

Facebook Live API Sample for iOS
Swift
56
star
11

thing

A rule-based entity management library written in Kotlin
Kotlin
56
star
12

vimgolf-finder

Simple VimGolf challenge finder. ๐Ÿ”Ž
Ruby
48
star
13

MySQLForNonDeveloper

๋น„๊ฐœ๋ฐœ์ž๋ฅผ ์œ„ํ•œ MySQL โฝ(หƒฬตอˆฬ‘แด—ห‚ฬตอˆฬ‘)โฝ
34
star
14

vue-ime-model

v-model directive for countries using IME.
JavaScript
26
star
15

RxGoogleMaps

RxGoogleMaps is a RxSwift wrapper for GoogleMaps delegate.
Swift
24
star
16

RxAutoUpdater

Auto update to data for UITableView/UICollectionView
Swift
23
star
17

terraform-apply-for-aws-action

Create, change, and improve AWS infrastructure by Terraform.
Shell
21
star
18

OnlyDesignable

This is only a collection of designable views for storyboards.
Swift
20
star
19

NNGameFramework

๋„ฅ์ŠคํŠธ ํ•™์ƒ๋“ค์„ ์œ„ํ•œ ๊ฐ„๋‹จํ•œ 2D ํ”„๋ ˆ์ž„์›Œํฌ
C
18
star
20

daily

daily run your routine commands very easy! ๐Ÿ‘
Shell
17
star
21

eos-project-vue-boilerplate-simple

Rewrite (https://github.com/EOSIO/eosio-project-boilerplate-simple) to Vue.js
Shell
13
star
22

dead-toast

๐Ÿž Dead simple Javascript Toast like Android.
JavaScript
12
star
23

NNEngine

NHN NEXT Game Engine
C++
10
star
24

resume

Lee Sun-Hyoup's Rรฉsumรฉ
HTML
9
star
25

slack_hungry

Slack ๋ฐฅ ๋ฉ”๋‰ด ์ถ”์ฒœ ๋ด‡.
Python
7
star
26

DeepLearningTetris

Python
7
star
27

laravel-vue-bootstrap

PHP
7
star
28

polymorphic-react-component-sample

TypeScript
6
star
29

vue-weather

JavaScript
5
star
30

HangeulKit

Swift
5
star
31

qart-cli

QArt.js for CLI
4
star
32

dotfiles

Shell
4
star
33

jquery-simple-chart

jQuery ์ฐจํŠธ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ž…๋‹ˆ๋‹ค.
JavaScript
4
star
34

RainyDay

3
star
35

kciter

3
star
36

notevuek

JavaScript
3
star
37

brainfuck-impl

Brainfuck implementations each other in different languages.
JavaScript
3
star
38

TreeStana

JavaScript
3
star
39

vue-stagram

JavaScript
2
star
40

kciter.github.io

TypeScript
2
star
41

FlappyBirdClone

FlappyBirdClone
2
star
42

microfrontend-sample

JavaScript
2
star
43

next-subsystem

TypeScript
2
star
44

iOS-FinishTest

Swift
2
star
45

mf-sdu-test

TypeScript
2
star
46

vuex-counter-example

JavaScript
2
star
47

pokestop-alram

ํฌ์ผ€์Šคํƒ‘ ์•Œ๋žŒ์ž„
Shell
2
star
48

Android-FinishTest

Java
1
star
49

jenkins-pipeline-test

JavaScript
1
star
50

expandable-spring-architecture

1
star