الملفات
ghaymahci-test/.github/workflows/ci.yaml
2025-10-07 11:41:48 +03:00

30 أسطر
626 B
YAML

on:
push:
pull_request:
jobs:
buildANDpush:
runs-on: ubuntu
steps:
- name: checkout code
uses: actions/checkout@v5.0.0
- name: login to dockerhub
uses: docker/login-action@v3.6.0
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ahmedhesham301/nginx:latest
# ci:
# needs: buildANDpush
# runs-on: ubuntu
# steps:
# - name: install ghaymah cli
# run: echo hello