Skip to content

New Update

New Update #234

Workflow file for this run

name: CI/CD
on:
push:
branches:
- 'new-stage-release'
jobs:
build:
runs-on: ubuntu-22.04
steps:
# Build Docker image:
- uses: actions/checkout@v2
- name: Build and tag image
run: |
docker build -t megoru/giveaway:dev .
# Login to Docker Hub:
- name: Docker login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_LOGIN }}
password: ${{ secrets.DOCKER_PASSWORD }}
# Push image to Docker Hub:
- name: Publish image
run: docker push megoru/giveaway:dev