Skip to content

add auto-stop-idle

add auto-stop-idle #8

Workflow file for this run

name: publish
on:
push:
branches:
- 'main'
jobs:
python311-bullseye:
name: 3.11-bullseye
runs-on: ubuntu-latest
permissions:
id-token: write # needed to interact with GitHub's OIDC Token endpoint.
contents: read
env:
REPOSITORY: jupyter
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::767397804933:role/github-actions-image-publishing-role-dpzyqzl6r1zt
aws-region: us-west-2
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: 3.11/bullseye
push: true
tags: ${{ steps.login-ecr.outputs.registry }}/${{ env.REPOSITORY }}:3.11-bullseye