Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker login not working in actions #15

Open
DevER-M opened this issue Jun 19, 2022 · 0 comments
Open

Docker login not working in actions #15

DevER-M opened this issue Jun 19, 2022 · 0 comments

Comments

@DevER-M
Copy link
Member

DevER-M commented Jun 19, 2022

Happened 2 hours ago
image

main.yml

name: CI


on:
  schedule:
    - cron: "43 3 * * *"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  build:
    runs-on: ubuntu-latest
    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v3
      - name: docker login on ghcr.io
        env:
          AT: ${{ secrets.AT }}
        run: docker login ghcr.io -u code-theft-auto -p $AT
      - name: pull python:3.10.4-slim
        run: docker pull python:3.10.4-alpine
      - name: docker build
        run: docker build . -t ghcr.io/code-theft-auto/sockeypy:$(date +%d-%m-%y)
      - name: docker push
        run: docker push ghcr.io/code-theft-auto/sockeypy:$(date +%d-%m-%y)
@DevER-M DevER-M pinned this issue Jun 19, 2022
@DevER-M DevER-M unpinned this issue Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant