Skip to content

Commit

Permalink
worflow fix 2 (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
s0rg authored Nov 27, 2023
1 parent 97e0857 commit a3a60e5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
name: Publish Docker image
name: dockerhub

on:
release:
types: [published]

jobs:
update_registry:
name: Build and push Docker image
name: build and push image
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Log in to Docker Hub
- name: log in
uses: docker/login-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Check out the repo
- name: check out
uses: actions/checkout@v4
- name: Set up Docker Buildx
- name: set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
- name: build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
platforms: linux/amd64
tags: |
${{ github.repository }}:${{ env.github.ref_name }}
${{ github.repository }}:${{ github.ref_name }}
${{ github.repository }}:latest
push: true
- name: Update Docker Hub Readme for dolt image
- name: update readme
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ github.actor }}
Expand Down

0 comments on commit a3a60e5

Please sign in to comment.