-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (23 loc) · 977 Bytes
/
docker.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
name: Docker
on:
push:
branches: [ main, develop ]
tags:
- '*'
pull_request:
branches:
- main
- develop
jobs:
docker:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u doerfli --password-stdin
- uses: rlespinasse/[email protected]
# - run: docker build --build-arg INSTANCE=mumbai -t ghcr.io/etherisc/flightdelay-ui/flightdelay-ui:${{ env.GITHUB_REF_SLUG }} .
# - run: docker build -t ghcr.io/etherisc/flightdelay-ui/flightdelay-ui:${{ env.GITHUB_REF_SLUG }} --build-arg FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }} .
- run: docker build -t ghcr.io/etherisc/flightdelay-ui/flightdelay-ui:${{ env.GITHUB_REF_SLUG }} .
# no push to ghcr.io for now
# - run: docker push ghcr.io/etherisc/flightdelay-ui/flightdelay-ui:${{ env.GITHUB_REF_SLUG }}