release(0.18.5) bump used cargo-generate version to v0.18.5 (#17) #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docker image | |
on: | |
push: | |
branches: [ '*' ] | |
paths-ignore: | |
- "**/docs/**" | |
- "**.md" | |
pull_request: | |
branches: [ main ] | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
env: | |
DOCKERHUB_USER: cargogenerate | |
DOCKERHUB_IMAGE: cargo-generate-action | |
steps: | |
# Check out code | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# This is the a separate action that sets up buildx runner | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ env.DOCKERHUB_USER }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
# And make it available for the builds | |
- name: Build only | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
push: false |