File tree 1 file changed +18
-6
lines changed
1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -39,19 +39,31 @@ jobs:
39
39
api-integration-tests :
40
40
runs-on : ubuntu-latest
41
41
steps :
42
- - uses : actions/checkout@v4
42
+ - name : " Setup: checkout repository"
43
+ uses : actions/checkout@v4
43
44
44
- - name : " Login to GitHub Container Registry"
45
+ - name : " Setup: Login to GitHub Container Registry"
45
46
uses : docker/login-action@v3
46
47
with :
47
48
registry : ${{ env.IMAGE_REGISTRY }}
48
49
username : ${{ github.actor }}
49
50
password : ${{ secrets.GITHUB_TOKEN }}
50
51
51
- - name : Build API image
52
- run : |
53
- docker pull $API_IMAGE
54
- docker build --target development --tag api-development ./api # TODO: --cache-from $API_IMAGE
52
+ - name : " Setup: Docker Buildx"
53
+ uses : docker/setup-buildx-action@v3
54
+
55
+ - name : " Setup: Build API image"
56
+ uses : docker/build-push-action@v6
57
+ with :
58
+ context : ./api
59
+ target : development
60
+ tags : ${{ env.API_IMAGE }}
61
+ cache-from : type=registry,ref=user/app:buildcache
62
+
63
+ # - name: Build API image
64
+ # run: |
65
+ # docker pull $API_IMAGE
66
+ # docker build --target development --tag api-development ./api # TODO: --cache-from $API_IMAGE
55
67
56
68
- name : BDD Integration tests
57
69
if : ${{ false }} # disable for now
You can’t perform that action at this time.
0 commit comments