Skip to content

Commit

Permalink
Update build-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sato-tis authored Aug 16, 2024
1 parent 5e5ff0d commit 9883757
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
on:
# 手動実行用トリガー
workflow_dispatch:
env:
CONTAINER_REGISTRY: cicd2024rymvmpzpk74hg.azurecr.io
jobs:
build:
runs-on: ubuntu-22.04
Expand All @@ -19,4 +21,11 @@
- name: Confirm if env have REPOSITORY_NAME
run: |
echo ${{ env.REPOSITORY_NAME }}
# Add a step
- name: Log in to container registry
# 認証処理を行うためのアクション
uses: docker/login-action@v2
with:
registry: ${{ env.CONTAINER_REGISTRY }}
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}

0 comments on commit 9883757

Please sign in to comment.