fix responsiveness on mobile (#56) #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish STAGING image | |
on: | |
push: | |
branches: | |
- develop | |
workflow_dispatch: | |
jobs: | |
publish-image: | |
runs-on: ubuntu-latest | |
env: | |
ENVIRONMENT: staging | |
IMAGE_NAME: ${{ vars.PUBLICECR_URI }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.PUBLICECR_UPLOAD_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.PUBLICECR_UPLOAD_SECRET_ACCESS_KEY }} | |
aws-region: ${{ vars.PUBLICECR_REGION }} | |
- name: Authenticate with AWS Public ECR | |
uses: aws-actions/amazon-ecr-login@v2 | |
with: | |
registry-type: public | |
- name: Build a Docker image | |
run: | | |
docker build --build-arg DEPLOYMENT_ENV=staging -t ${{ vars.PUBLICECR_URI }}:staging . | |
- name: Publish To AWS ECR | |
run: | | |
docker push ${{ vars.PUBLICECR_URI }}:staging |