Skip to content

chore(deps): update dependency eslint-plugin-simple-import-sort to v1… #460

chore(deps): update dependency eslint-plugin-simple-import-sort to v1…

chore(deps): update dependency eslint-plugin-simple-import-sort to v1… #460

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ['master']
pull_request:
branches: ['master']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
if: github.ref == 'refs/heads/master'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_Token }}
- name: Build the Docker image
run: |
docker build . --file Dockerfile --tag ghcr.io/${{ github.repository }}:${{ github.sha }}
if [ "${{ github.ref }}" == "refs/heads/master" ]; then
docker tag ghcr.io/${{ github.repository }}:${{ github.sha }} ghcr.io/${{ github.repository }}:latest
fi
- name: Push the Docker image
if: github.ref == 'refs/heads/master'
run: |
docker push ghcr.io/${{ github.repository }}:${{ github.sha }}
docker push ghcr.io/${{ github.repository }}:latest