Skip to content

Remove the service disable command #18

Remove the service disable command

Remove the service disable command #18

Workflow file for this run

name: ECR Build
on:
push:
tags:
- '*'
jobs:
build:
runs-on: windows-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v2
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: us-west-2
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Build, tag, and push docker image to Amazon ECR
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: edge-windows
IMAGE_TAG: ${{ github.ref_name }}
run: |
docker build -t $env:REGISTRY/$env:REPOSITORY`:$env:IMAGE_TAG .
docker push $env:REGISTRY/$env:REPOSITORY`:$env:IMAGE_TAG