Skip to content

Commit

Permalink
Test main GitHub Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
r4ulcl committed Dec 6, 2023
1 parent 5773280 commit e5bc123
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,17 @@ jobs:
push: true
#tags: ${{ secrets.DOCKERHUB_USERNAME }}/wifi_db:latest,${{ secrets.DOCKERHUB_USERNAME }}/wifi_db:main
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}


- name: Login to GitHub Packages
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login -u ${{ github.actor }} docker.pkg.github.com --password-stdin

- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: r4ulcl/wifi_db:${{ steps.meta.outputs.labels }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit e5bc123

Please sign in to comment.