Registry express proxy to Docker Hub #1
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 express 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 ./express-proxy -t piotrekdockerxd/express-proxy:latest | |
- name: push image to docker hub | |
run: | | |
docker login -u piotrekdockerxd -p ${{ secrets.DOCKER_HUB_TOKEN }} | |
docker push piotrekdockerxd/express-proxy:latest |