Skip to content

docker-image: Set a secret key #8

docker-image: Set a secret key

docker-image: Set a secret key #8

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: 'panchajanya1999'
password: ${{ secrets.PASSWORD }}
- name: Build and push Docker image
run: |
docker build -f Dockerfile . -t panchajanya1999/archlinux:latest
docker push panchajanya1999/archlinux:latest