Skip to content

Commit

Permalink
CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
pankalog committed Feb 3, 2024
1 parent b163f0f commit 36d575c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Dump GitHub Actions context
shell: bash
run: echo "$GITHUB_CONTEXT"


- name: Check out the code
uses: actions/checkout@v2

- name: Extract commit SHA
id: sha
run: echo "SHORT_SHA=$(git rev-parse --short=7 ${{ github.sha }})" >> $GITHUB_ENV

- name: Check out the code
uses: actions/checkout@v2

- name: Dump GitHub Actions context
shell: bash
run: echo "$GITHUB_CONTEXT"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -32,7 +34,6 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESSTOKEN }}


- name: Build and push
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 36d575c

Please sign in to comment.