Skip to content

Commit

Permalink
PR for #320 use v2 retain local Docker Image always (#358)
Browse files Browse the repository at this point in the history
* #320 first version Docker Build Push GH Action

* #320 2nd version Docker Build Push GH Action

* #320 2ndversion Docker Build Push GH Action textedit

* #320 use v2 Docker Build Push GH Action

* #320 use v2 Docker Build Push GH Action remove comments

* #320 use v2 Docker Build Push GH Action fix yaml error

* #320 use v2 Docker Build Push GH Action badge

* #320 use v2 Docker Build Push GH Run GHC Unit Tests in Docker

* #320 use v2 Docker Build Push try load Docker Image in build env

* #320 use v2 Docker Build Push - finalize

* #320 use v2 Docker Build Push - comments only

* #320 use v2 Docker Build Push - retain local Image always
  • Loading branch information
justb4 committed Apr 27, 2021
1 parent c943239 commit 7a9da98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Docker Build, Docker Push (on GH Push only)
- name: Docker Build only - retain local Image
uses: docker/build-push-action@v2
with:
context: .
load: true
push: ${{ github.event_name != 'pull_request' }}
push: false
tags: ${{ steps.prep.outputs.tags }}
labels: |
org.opencontainers.image.source=${{ github.event.repository.html_url }}
Expand Down

0 comments on commit 7a9da98

Please sign in to comment.