Skip to content

Commit

Permalink
Update build_and_publish_devcontainer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatamutyala authored Mar 23, 2023
1 parent 8194038 commit 16ff48d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build_and_publish_devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ jobs:
- name: Generate Variables for Tags
uses: rlespinasse/[email protected]

- name: Build and push Docker image
uses: docker/build-push-action@v2
- name: Build and run dev container task
uses: devcontainers/[email protected]
with:
context: .
push: true
tags: "ghcr.io/${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG }}/${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG }}:${{ env.GITHUB_REF_SLUG }},ghcr.io/${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG }}/${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG }}:${{ github.sha }}"
labels: ${{ steps.meta.outputs.labels }}
imageName: ghcr.io/${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG }}/${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG }}
imageTag: ${{ env.GITHUB_REF_SLUG }}
push: always

0 comments on commit 16ff48d

Please sign in to comment.