Difference between revisions of "Uses: azure/docker-login"
Jump to navigation
Jump to search
m (Welcome moved page Azure/docker-login to Uses: azure/docker-login) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
* https://github.com/Azure/docker-login | * https://github.com/Azure/docker-login | ||
+ | |||
+ | <pre> | ||
+ | - uses: azure/docker-login@v2 | ||
+ | with: | ||
+ | login-server: contoso.azurecr.io | ||
+ | username: ${{ secrets.ACR_USERNAME }} | ||
+ | password: ${{ secrets.ACR_PASSWORD }} | ||
+ | - run: | | ||
+ | docker build . -t contoso.azurecr.io/k8sdemo | ||
+ | docker push contoso.azurecr.io/k8sdemo | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | * {{uses:}} | ||
+ | * {{gha}} |
Latest revision as of 11:58, 17 July 2024
- uses: azure/docker-login@v2 with: login-server: contoso.azurecr.io username: ${{ secrets.ACR_USERNAME }} password: ${{ secrets.ACR_PASSWORD }} - run: | docker build . -t contoso.azurecr.io/k8sdemo docker push contoso.azurecr.io/k8sdemo
uses:, checkout@v3, configure-aws-credentials, docker/login-action, 1password/
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: