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 }}