Skip to content

Commit

Permalink
Merge 929d2f1 into 363806f
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Mar 11, 2024
2 parents 363806f + 929d2f1 commit de3344f
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,36 @@
# @see https://github.com/JBZoo/Csv-Blueprint
#

name: Publish Docker Image
name: Publish Docker

on:
release:
types: [ published ]
push:
branches:
- 'master'
pull_request:
branches:
- "*"

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Login to DockerHub
uses: docker/login-action@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
tags: jbzoo/csv-blueprint:${{ env.GITHUB_REF_NAME }}
tags: jbzoo/csv-blueprint:latest

0 comments on commit de3344f

Please sign in to comment.