Builds and pushes Docker images to GitHub Package Registry
steps:
- uses: actions/checkout@v2
name: Check out code
- name: Build and Publish Docker image
uses: zvfvrv/docker-bpgpr@1.0.0
with:
gh_token: ${{ secrets.TOKEN_GH }}
image_name: test
tag_with_ref: true
tag_with_sha: true
path: ./test
dockerfile: Dockerfile
steps:
- uses: actions/checkout@v2
name: Check out code
- name: Build and Publish Docker image
uses: zvfvrv/docker-bpgpr@1.0.0
with:
gh_token: ${{ secrets.TOKEN_GH }}
image_name: test
tags: latest
path: ./test
dockerfile: Dockerfile
steps:
- uses: actions/checkout@v2
name: Check out code
- name: Build and Publish Docker image
uses: zvfvrv/docker-bpgpr@1.0.0
with:
gh_token: ${{ secrets.TOKEN_GH }}
image_name: test
tag_with_ref: true
tag_with_sha: true
path: ./test
dockerfile: Dockerfile
target: withcurl
push: false