forked from eclipse-set/build
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (41 loc) · 1.62 KB
/
build-docker-images.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# This workflow will build and push Docker images into ghcr.io/eclipse-set
name: 'Build and push Docker image'
on: workflow_dispatch
env:
REGISTRY: ghcr.io
jobs:
build-push:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Login into the container registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Github CLI image
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
with:
context: .
file: ./docker/github-cli/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/truongquangsb/github-cli:latest
- name: Build and push Table-Diff-View-handle
uses: docker/build-push-action@5176d81f87c23d6fc96624dfdbcd9f3830bbe445 # v6.5.0
with:
context: ./docker/table-diff-handle
file: ./docker/table-diff-handle/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/truongquangsb/table-diff-view:latest
- name: Build and push Update-Table-Reference
uses: docker/build-push-action@5176d81f87c23d6fc96624dfdbcd9f3830bbe445 # v6.5.0
with:
context: ./docker/update-table-reference
file: ./docker/update-table-reference/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/truongquangsb/update-table-reference:latest