Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fylein/docker-release-action
https://github.com/fylein/docker-release-action
team-integrations
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fylein/docker-release-action
- Owner: fylein
- License: mit
- Created: 2022-09-23T12:00:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T16:01:09.000Z (4 months ago)
- Last Synced: 2024-10-31T10:38:34.531Z (2 months ago)
- Topics: team-integrations
- Language: Shell
- Size: 17.6 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Docker Build and Push
Build docker images using Dockerfile in your repository and Push them to Docker Hub
## Setup
This GitHub Action requires a bunch of environment variables, check the env section below.
```yaml
# .github/workflows/deploy.yml
name: Build Codeon:
push:
branches:
- masterjobs:
assign:
name: Build
runs-on: ubuntu-latest
steps:
- name: push to dockerhub
uses: fylein/docker-release-action@master
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
IMAGE_NAME: ${{ secrets.IMAGE_NAME }}
```