Skip to content

Commit

Permalink
2024-07-26 21:33:10+04:00
Browse files Browse the repository at this point in the history
  • Loading branch information
nett00n committed Jul 26, 2024
1 parent bf5b89a commit 47ee366
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- bug/docker
release:
types:
- created
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set default value for env.PUSH_DOCKER_IMAGE if not defined
Expand All @@ -59,6 +60,7 @@ jobs:
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/url-fairy-bot:latest
${{ secrets.DOCKERHUB_USERNAME }}/url-fairy-bot:${{ github.sha }}
${{ env.DOCKERHUB_USERNAME }}/url-fairy-bot:latest
${{ env.DOCKERHUB_USERNAME }}/url-fairy-bot:${{ github.sha }}
${{ secrets.DOCKERHUB_USERNAME }}/url-fairy-bot:${{ steps.set-tag.outputs.tag }}

0 comments on commit 47ee366

Please sign in to comment.