Skip to content

changing in sha name #16

changing in sha name

changing in sha name #16

Workflow file for this run

name: Django CI
on:
push:
branches:
- 5-github-action
jobs:
build:
name: build and push repo
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v5
with:
python-version: '3'
architecture: 'x64'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.$DOCKER_HUB_USR }}

Check failure on line 28 in .github/workflows/django.yml

View workflow run for this annotation

GitHub Actions / Django CI

Invalid workflow file

The workflow is not valid. .github/workflows/django.yml (Line: 28, Col: 19): Unexpected symbol: '$DOCKER_HUB_USR'. Located at position 9 within expression: secrets.$DOCKER_HUB_USR .github/workflows/django.yml (Line: 29, Col: 19): Unexpected symbol: '$DOCKER_HUB_PASS'. Located at position 9 within expression: secrets.$DOCKER_HUB_PASS
password: ${{ secrets.$DOCKER_HUB_PASS }}
- name: Set up Docker Buildz
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: tachyonbyte/Leaderboard
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}