Registry fastify proxy to Docker Hub #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Registry fastify proxy to Docker Hub | |
on: [workflow_dispatch] | |
jobs: | |
dockerize: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: build image | |
run: docker build ./fastify-proxy -t piotrekdockerxd/fastify-proxy:latest | |
- name: push image to docker hub | |
run: | | |
docker login -u piotrekdockerxd -p ${{ secrets.DOCKER_HUB_TOKEN }} | |
docker push piotrekdockerxd/fastify-proxy:latest |