๐Ÿ“ฆ EqualifyEverything / scan

๐Ÿ“„ containerize.yml ยท 33 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33name: ๐Ÿ–ผ๏ธ Management

on:
  push:
    branches: [main]

env:
  IMAGE_NAME: scan
  REPO_NAME: equalifyapp

jobs:
  build-and-push:
    name: ๐Ÿ—๏ธ and Push ๐Ÿณ Image
    runs-on: ubuntu-latest

    steps:
      - name: Checkout Repository
        id: checkout
        uses: actions/checkout@v2

      - name: ๐Ÿ—๏ธ ๐Ÿณ Image
        id: build
        uses: docker/build-push-action@v2
        with:
          context: .
          push: true
          tags: ghcr.io/${{ env.REPO_NAME }}/${{ env.IMAGE_NAME }}:latest
        env:
          DOCKER_BUILDKIT: 1
          BUILDKIT_INLINE_CACHE: 1
          DOCKER_USERNAME: ${{ secrets.GH_ACTION_USER }}
          DOCKER_PASSWORD: ${{ secrets.GH_ACTION_TOKEN }}