File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 47
47
- run : |
48
48
pip install pipenv
49
49
pipenv install --deploy --dev
50
- - run : echo ${{ matrix.key }}
51
50
- name : Generate Dockerfile from config
52
51
run : pipenv run python -m build_versions.main --dockerfile-with-context '${{ toJSON(matrix) }}'
53
52
- name : Set up QEMU
59
58
with :
60
59
username : ${{ secrets.DOCKERHUB_USERNAME }}
61
60
password : ${{ secrets.DOCKERHUB_TOKEN }}
62
- - name : Build and push
61
+ - name : Build image
62
+ uses : docker/build-push-action@v4
63
+ with :
64
+ context : .
65
+ file : dockerfiles/${{ matrix.key }}.Dockerfile
66
+ load : true
67
+ tags : nikolaik/python-nodejs:${{ matrix.key }}
68
+ - name : Run smoke tests
69
+ run : |
70
+ docker run --rm nikolaik/python-nodejs:${{ matrix.key }} sh -c "node --version && npm --version && yarn --version && python --version && pip --version && pipenv --version && poetry --version"
71
+ - name : Push image
63
72
uses : docker/build-push-action@v4
64
73
with :
65
74
context : .
You can’t perform that action at this time.
0 commit comments