Releases: Azure/aci-deploy
Releases · Azure/aci-deploy
Releaseing v1.1.3
Updating release branch with secureValue fix
GitHub Action for deploying to Azure Container Instances
Automate your GitHub Actions workflow to deploy to Azure Container Instances
Usage
Sample workflow to build and deploy a containerized app to Azure Container Instances
on: [push]
name: Linux_Container_Workflow
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
# checkout the repo
- name: 'Checkout GitHub Action'
uses: actions/checkout@master
- name: 'Login via Azure CLI'
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- uses: azure/docker-login@v1
with:
login-server: contoso.azurecr.io
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- run: |
docker build .t contoso.azurecr.io/nodejssampleapp:${{ github.sha }}
docker push contoso.azurecr.io/nodejssampleapp:${{ github.sha }}
- name: 'Deploy to Azure Container Instances'
uses: 'azure/aci-deploy@v1'
with:
resource-group: contoso
dns-name-label: url-for-container
image: contoso.azurecr.io/nodejssampleapp:${{ github.sha }}
registry-username: ${{ secrets.REGISTRY_USERNAME }}
registry-password: ${{ secrets.REGISTRY_PASSWORD }}
name: contoso-container
location: 'west us'
License
GitHub Action for deployment to Azure Container Instances is licensed under MIT License
Releasing v1.1.2
Support for secure env variable by fixing #47
Releasing v1.1.1
It includes
- ReadMe(documentation) updates
- Fix boolean checks on multiple parameters
- Fix logic to read acr from image name
Updating the @actions/core to latest version
Bump @actions/core from 1.2.2 to 1.2.6 (#18) Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.2 to 1.2.6. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>