Skip to content

Commit

Permalink
debug setup
Browse files Browse the repository at this point in the history
  • Loading branch information
chenrui333 committed Mar 3, 2022
1 parent 94eccee commit 274501a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/atlantis-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- '.github/workflows/atlantis-base.yml'
branches:
- "master"
- "fix-docker-image-issue-take2"
workflow_dispatch:

defaults:
Expand Down Expand Up @@ -38,14 +39,13 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: echo "TODAY=$(date +"%Y.%m.%d")" >> $GITHUB_ENV
# - run: echo "TODAY=$(date +"%Y.%m.%d")" >> $GITHUB_ENV

- name: Build and push atlantis-base:${{env.TODAY}} image
- name: Build and push atlantis-base:dev image
uses: docker/build-push-action@v2
with:
context: docker-base
platforms: linux/arm64/v8,linux/amd64,linux/arm/v7
push: true
tags: |
ghcr.io/runatlantis/atlantis-base:${{env.TODAY}}
ghcr.io/runatlantis/atlantis-base:latest
ghcr.io/runatlantis/atlantis-base:dev
3 changes: 2 additions & 1 deletion .github/workflows/atlantis-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- 'master'
- 'fix-docker-image-issue-take2'
tags:
- 'v*.*.*'
workflow_dispatch:
Expand Down Expand Up @@ -43,7 +44,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/arm64/v8,linux/amd64,linux/arm/v7
platforms: linux/arm64,linux/amd64,linux/arm/v7
push: true
tags: |
ghcr.io/runatlantis/atlantis:dev
Expand Down

0 comments on commit 274501a

Please sign in to comment.