Skip to content

Commit

Permalink
Update r-docker-deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
oadetayo authored Jan 10, 2025
1 parent a09c142 commit d833d14
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/r-docker-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,6 @@ jobs:
run: |
docker build -t ghcr.io/dfe-analytical-services/dfe-r-base2:latest .
# Run R setup action inside Docker container
- name: Run R setup action
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

# Start a container from the image
- name: Run container
run: |
docker run -d --name temp-container ghcr.io/dfe-analytical-services/dfe-r-base2:latest
# Commit the changes to the Docker image
- name: Commit Docker image changes
run: |
docker commit temp-container ghcr.io/dfe-analytical-services/dfe-r-base2:latest
# Authenticate with GitHub Container Registry
- name: Log in to GitHub Container Registry
run: |
Expand All @@ -44,9 +28,3 @@ jobs:
- name: Push Docker image to GitHub Container Registry
run: |
docker push ghcr.io/dfe-analytical-services/dfe-r-base2:latest
# Clean up by stopping and removing the container
- name: Clean up container
run: |
docker stop temp-container
docker rm temp-container

0 comments on commit d833d14

Please sign in to comment.