Skip to content

Commit

Permalink
fix image path and dockerhub creds
Browse files Browse the repository at this point in the history
  • Loading branch information
voron committed May 30, 2024
1 parent 67f893d commit a62ec48
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,16 @@ jobs:
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker meta
id: meta_id
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
devopsnirvana/kubernetes-volume-autoscaler
dysnix/kubernetes-volume-autoscaler
# Docker tags based on the following events/attributes
tags: |
type=schedule
Expand All @@ -47,7 +46,7 @@ jobs:
type=sha
- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down

0 comments on commit a62ec48

Please sign in to comment.