forked from datawookie/docker-tor-privoxy
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (34 loc) · 973 Bytes
/
img-build.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
name: Build Docker Image
on: [push]
jobs:
GitHub-Image-Builder:
runs-on: ubuntu-latest
steps:
-
run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
-
run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
-
name: Check out repository code
uses: actions/checkout@v3
-
name: List files in the repository
run: |
ls ${{ github.workspace }}
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: build application
run: make build-full
-
run: echo "This job's status is ${{ job.status }}."
-
name: image tagging
run: make prepush
-
name: push image
run: make push