None
EN
Manually Optimize Deployments on Railway
[]
Railway Blog
name: Build and Push Docker Image on: push: branches: - main jobs: build: runs-on: ubuntu-latest steps: # Checkout the code - name: Checkout code uses: actions/checkout@v3 # Log in to the Docker registry - name: Log in to Docker Hub uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} # Build the Docker image - name: Build the Docker image run: docker build -t railblog-docker:${{ github.sha }} .