More trying to understand github actions.

This commit is contained in:
Lucas Winther authored and GitHub committed 2021-01-15 19:09:47 +01:00
1 parent a371929dcc
commit cb5a72679b
1 file changed
+2 -7
+2 -7
View File
@@ -7,9 +7,6 @@ on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@@ -48,7 +45,5 @@ jobs:
# uses: docker/build-push-action@4a531fa5a603bab87dfa56578bd82b28508c9547
uses: docker/build-push-action@v2.2.2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: lucasw89/portfolio
tag_with_ref: true
file: ${{ $GITHUB_WORKSPACE }}/Dockerfile
push: true