Remove test runs during Docker image creation
@@ -17,26 +17,13 @@ on:
env:
# TODO: Change variable to your image's name.
- IMAGE_NAME: image
+ IMAGE_NAME: fasten-server
jobs:
- # Run tests.
- # See also https://docs.docker.com/docker-hub/builds/automated-testing/
- test:
- runs-on: ubuntu-18.04
-
- steps:
- - uses: actions/checkout@v2
-
- - name: Run tests
- run: |
- mvn test
# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
push:
- # Ensure test job passes before pushing image.
- needs: test
runs-on: ubuntu-18.04
if: github.event_name == 'push'
