File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66on :
77 # Triggers the workflow on push or pull request events but only for the "main" branch
88 push :
9- branches : [ "main" ]
9+ branches : ["main"]
1010 pull_request :
11- branches : [ "main" ]
11+ branches : ["main"]
1212
1313 # Allows you to run this workflow manually from the Actions tab
1414 workflow_dispatch :
@@ -35,17 +35,17 @@ jobs:
3535 run : |
3636 docker build . --file Dockerfile --tag gamecollection-api:$(echo $GITHUB_SHA | cut -c1-7)
3737
38- - name : Log in to Docker Hub
38+ # - name: Log in to Docker Hub
3939 # This step is commented out for now. Uncomment and configure
4040 # if you want to push the image to a registry like Docker Hub.
4141 # uses: docker/login-action@v3
4242 # with:
4343 # username: ${{ secrets.DOCKER_USERNAME }}
4444 # password: ${{ secrets.DOCKER_PASSWORD }}
45-
46- - name : Push Docker Image
45+
46+ # - name: Push Docker Image
4747 # This step is also commented out. Uncomment to push the image.
4848 # run: docker push gamecollection-api:$(echo $GITHUB_SHA | cut -c1-7)
49-
49+
5050 - name : List built images
5151 run : docker images
You can’t perform that action at this time.
0 commit comments