Create test.yaml #9
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: Check IP | |
on: | |
pull_request: {} | |
jobs: | |
check-ip: | |
runs-on: mosaic-8wide | |
steps: | |
- name: Check Runner IP | |
run: curl https://ipinfo.io/ip | |
- name: clone repo | |
uses: actions/checkout@v4 | |
with: | |
repository: databricks-mosaic/devops | |
token: ${{ secrets.GHCR_TOKEN }} | |
# - name: Login to GHCR | |
# uses: docker/login-action@v3 | |
# with: | |
# username: ${{ secrets.GHCR_USERNAME }} | |
# password: ${{ secrets.GHCR_TOKEN }} | |
# registry: 'ghcr.io' | |
# - name: Pull and tag image | |
# run: | | |
# docker pull ubuntu:latest | |
# docker tag ubuntu:latest ghcr.io/databricks-mosaic/pytorch:test-123 | |
# docker push ghcr.io/databricks-mosaic/pytorch:test-123 |