Skip to content

julioarruda/pushimagetoregistry

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Push Image to Your Own Registry

This action push your docker image to private Registry .

Inputs

acr-tokenname

Username for your registry.

acr-token

Password or Token used in your registry..

acr-account

Your Registry Account: myregistry.azurecr.io

acr-imagename

Your Image name created before, like: myregistry.azurecr.io/hello-world:v1

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Push Image to ACR
      uses: julioarruda/pushimagetoregistry@v1
      with:
        acr-tokenname: ${{ secrets.ACR_TOKEN_NAME }}
        acr-token: ${{ secrets.ACR_TOKEN_VALUE }}
        acr-account: myregistry.azurecr.io
        acr-imagename: myregistry.azurecr.io/hello-world:v1