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/[email protected]
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/[email protected]
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/[email protected]
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